node-typescript-generator
Version:
This is a Node JS project generator with Express and all necessary libraries in Typescript.
21 lines (15 loc) • 1.63 kB
Markdown
# node-typescript-generator
     
*Note: This README is only relevant to the latest version of our plugin. If you are using an older version, please switch to the relevant tag on [our GitHub repo](https://github.com/ayand269/node-typescript-generator) to view the docs for that particular version.*
This plugin provides a nodejs project template that contain a very useful file structure, with middleware, controller, routes, models, mongodb and typescript. And also configure all relevant packages with ESlint.
## Getting Started
Follow the instruction given bellow
```shell
npx node-typescript-generator <ProjectName>
```
## ⚙️ Options
| Flag | Input | Description |
| ---- | ----- | ----------- |
| --port | [string] | Give the port in which you want to run your project |
| --db | [string] | Give the MongoDB URL to which you want to connect the database on your project |
| --jwt | [string] | Could you give the JWT_SECRET to which you want to use middleware on your project?. If you are not set then we can create random. |