This is a cli tool to help you when building your node applications
- Installation
- Quick Start
- Commands
npm i @codetanna/nex-cli
- Create a new project
npx cli create <project_name>
-
CD into project directory
cd <project_name>
-
Install packages
npm i
-
Start project
npm start
Create
- This command is used to create a new project
npx cli create <project_name>
Add model
-
This command allows you to add a model to your project
npx cli add:model <project_name>
Add controller
-
This command allows you to add a controller to your project
npx cli add:controller <controller_name>
Add route
-
This command allows you to add a route to your project
npx cli add:route <route_name>
Add service
-
This command allows you to add a service to your project
npx cli add:service <service_name>
Add Linting
-
This command allows you to add eslinting as well as prettier to your project
npx cli add:lint
Add Test
-
This command allows you to add test to your project
npx cli add:test
-
Create project with ejs
npx cli create <project_name> -e
npx cli create <project_name> --ejs
-
Create project for javascript backend
npx cli create <project_name> -js
npx cli create <project_name> --javascript
-
Create project for typescript backend
npx cli create <project_name> -t
npx cli create <project_name> --typescript
-
Opening man page for any of our commands
npx cli add -h
npx cli add --help
Emmanuel Gyang LinkedIn Account irvingmanny@gmail.com