Skip to content

Boilerplate for Express Application with Mongodb Database using Mongoose ODM

License

Notifications You must be signed in to change notification settings

umairian/express-mongoose-boilerplate

Repository files navigation

Express Mongoose Boilerplate

A boilerplate of express application with mongodb database using mongoose ODM.

Pre requisites

  • Node 16.0

Install dependencies

npm install or npm i

Start Server

npm start

Or

node server | bunyan #install bunyan globally for good formatting of logs

Or

npm run server (hot reloading)

Tail Logs

npm run logs

Stop app

npm run stop

Lint

> npm run lint
> npm run prettier

Config

  • For development, define required variables in .env
  • For production, define required variables as environment variable in remote setup.

About

Boilerplate for Express Application with Mongodb Database using Mongoose ODM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published