This starter works with npm or yarn.
Install:
yarn # or npm installRun in dev mode, restarting the server on file changes:
yarn dev
# If you want to generate fresh tables
resetdb=true yarn devRun unit tests:
yarn testRun in prod mode, not daemonized, with staging config (suitable for Heroku):
yarn build
yarn startStart/stop in prod mode, daemonized, with local config:
yarn build
yarn local:start
yarn local:stopStart/stop in prod mode, daemonized mode, with staging config:
yarn build
yarn staging:start
yarn staging:stopBuild (or update) the API documentation to api.html in the root:
yarn ramlDownload the latest stable version and install it on your machine: https://nodejs.org/en/download/
Verify it after the installation by running following commands.
$ node --version
$ npm --version
Follow the instructions from this blog post: https://scotch.io/tutorials/an-introduction-to-mongodb
- Star this GitHub Repository ⭐
- Fork this GitHub Repository 👈
- Create pull requests, submit bugs, suggest new features or documentation updates 🔧
My name is Narain Sagar, I’m a FullStack JavaScript Developer, lives in Karachi, Pakistan and pretty much enjoying my life.
Medium | Website | Twitter | LinkedIn | Facebook | Github | Stack Overflow
MIT - Narain Sagar narainmenghwar@gmail.com