A Node.js backend service application.
$ npm install
$ npm run start
$ heroku login
$ heroku create <app-name>
# Add Postgres and CloudAMQP add-ons to app
$ heroku addons:create heroku-postgresql:hobby-dev
$ heroku addons:create cloudamqp:lemur
# Set config var to access Postgres without SSL
$ heroku config:set PGSSLMODE=no-verify
# Set config vars that we need for our app
$ heroku config:set JWT_SECRET=some_secret
$ heroku config:set JWT_EXPIRY=900
$ heroku config:set SALT_ROUNDS=10
### Automatic Deployment from GitHub
1. Go to your Heroku app dashboard > `Deploy` tab
2. Under `Deployment method`, select `GitHub` and allow access
3. Search and connect to your GitHub repository
4. Under `Automatic deploys`:
1. Check `Wait for CI to pass before deploy`
2. Select `Enable Automatic Deploys`