Start the application npm start
Start nodemon for the application npm run dev
Run the tests in watch mode npm test
Migrate the database at DB_URL
, with npm run migrate:test
Migrate the tests (at TEST_DB_URL
), with npm run migrate:test
Remember to create a .env
file with DB_URL
and TEST_DB_URL
.
When your new project is ready for deployment, add a new heroku application with heroku create
. This will make a new git remote called "heroku" and you can then npm run deploy
which will push to this remote's master branch.