1.0.6 • Published 2 years ago

templates-generator v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CLI Template Generator

A CLI with some basic templates to help you develop your projects.

The currently existing templates are

TEMPLATESDESCRIPTION
postgres-docker-composeGenerates a basic docker compose with postgres
serverless-lambdaGenerates a serverless lambda project with typescript
typescript-basic-projectGenerates a clean project with typescript set


Getting started

How to run

after installing the CLI via npm run the command below and select the desired template

templates-generator

Install as a global

npm i  -g templates-generator

Install the project after clone

npm install

Build

npm run build

Execute

npm run start

or

npm link

After link you can run in any folder

templates-generator

Folder Structure for typescript-basic-project

.
├── package.json
├── README.md
├── src
│   ├── index.ts
│   ├── interfaces
│   │   └── sample.interface.ts
│   ├── services
│   │   └── sample.service.ts
│   └── shared
│       └── Logger.ts
├── tsconfig.json
├── tslint.json
└── yarn.lock

Folder Structure for serverless-lambda

.
├── helpers
└── src
    ├── infra
    │   ├── config
    │   ├── container
    │   └── http
    ├── modules
    │   └── RandomSample
    │       └── Sample
    │           ├── interfaces
    │           └── useCases
    ├── server
    ├── shared
    │   ├── adapters
    │   ├── contracts
    │   ├── exceptions
    │   ├── responses
    │   └── types
    └── utils
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago