express-startup-setup
$3
1 -In terminal
mkdir my-project
cd my-project
npm init -y
npm i express-startup-setup
code .
2 -create new file server.js
3 -Then open server.js file and write two lines of code given below
const project=require('express-startup-setup')
project.start();
4 -Then run in terminal
node server.js
5 -now open package.json and paste this script in scripts
"start":"node index.js"
6 -Delete your server.js file and start your project with
npm start
Create your models controllers in related directries and start your project