A boilerplate of express application with mongodb database using mongoose ODM.
- Node 16.0
npm install or npm i
npm start
Or
node server | bunyan #install bunyan globally for good formatting of logs
Or
npm run server (hot reloading)
npm run logs
npm run stop
> npm run lint
> npm run prettier
- For development, define required variables in .env
- For production, define required variables as environment variable in remote setup.