Basic express with mongoDb
First, install Yeoman and generator-express-mongo using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-express-mongo
Then generate your new project:
yo express-mongo
|
|-->models
| |--> modelSchema.js
| |--> index.js
|-->policies
| |--> policy.js
| |--> index.js
|-->routes
| |--> route.js
| |--> index.js
|-->static
| |--> index.html
|-->index.js
|-->package.json
|-->.env
|-->.gitignore
Apache-2.0 © Shubham Awasthi