Generate Nodejs / Expressjs based project with just a cli command.
npm i -g dx-gen
dx-gen --project [name]
cd [Project Dir]
npm i
dx-gen --api [name]
Import & Declare newly generated routes in src/routes.js
dx-gen --auth
Import & Declare newly generated Auth routes in src/routes.js
For this you will need nodemon
module.
npm i -g nodemon
npm run start:dev
For this you will need pm2
module.
npm i pm2
npm run start:prod