Node.js REST Skeleton

Rest API

Tested on Node v6 and above

TODO: write description for this

Create .env file in the root folder and add MONGO_URL=your-mongo-url

NPM Scripts

  • npm start - Start live-reloading development server
  • npm test - Run test suite
  • npm run test:watch - Run test suite with auto-reloading
  • npm run coverage - Generate test coverage
  • npm run build - Generate production ready application in ./build
  • npm run lint - Lint the js files
  • npm run doc - Create API doc, you can check your docs at http://your-domain:port/docs