Express Boilerplate

Set up

  1. npm install
  2. Rename example.env to .env and add secrets as needed
  3. Edit package.json project name
  4. Reset git: rm -rf .git && git init && git add -A && git commit -m 'start'

Usage

  • npm run dev - run with Nodemon
  • npm test - Mocha default
  • npm test -- -w - Mocha in watch mode
  • npm run deploy - pushes to Heroku master