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 raml