- Continue from previous authorization labs.
- Submit on canvas a question and observation, how long you spent, and a link to your deployed application.
- Deploy the application built on lab 19 using Github/Heroku/Travis CI using the process illustrated in class.
- Use mlab to add a MongoDB database to Heroku.
- Link your deployed apllication to AWS using Heroku's environment variables.
Use the following .yml file as a starting point for your deployment. It sets up the addons required to use the libraries we have been using in class, and it sets up a node version supported by Heroku.
language: node_js
node_js:
- '8.4.0'
services:
- mongodb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
sudo: required
before_script: npm i
script:
- npm test
Refactor the existing README.md to reflect changes done during deployment.