A boilerplate for Node.js rest APIs using express and mongodb.
- NodeJS >= 12.X
- yarn >= 1.22.X
- mongodb >= 4.X
# Get the latest code
git clone https://github.com/vishnu2981997/nodejs-rest-mongo-boilerplate.git myproject
# Change directory
cd myproject
# Install NPM dependencies
yarn install
# Install pm2 globally
npm install -g pm2
# Then simply start your app
yarn start
# To start app with nodemon
yarn dev
# To start app with inspector for debugging
yarn dev:inspect