npm install
- Rename
example.env
to.env
and add secrets as needed- Must include
DB_URL
andTEST_DB_URL
- Must include
- Edit
package.json
project name - Reset git:
rm -rf .git && git init && git add -A && git commit -m 'start'
npm run dev
- run with Nodemonnpm test
- Mocha defaultnpm test -- -w
- Mocha in watch modenpm run deploy
- pushes to Heroku masternpm run migrate
- runs Postgrator migrations on dev dbnpm run migrate:test
- runs Postgrator migrations on test db