Skip to content

Heroku Hosting

Hayden edited this page May 24, 2020 · 2 revisions

Both our front-end and back-end are hosted on Heroku

Deployments

The heroku apps use automatic deployments to automatically deploy whenever a new commit appears on our selected release branches. Once a new commit is observed heroku will build it, but only deploy the code on a successful build so as to not release a broken application.

Buildpacks

Because we have both out backend and frontend in the same repository in a monorepo fashion, we utilize the subdir-heroku-buildpack. For each end of our hosted app, this buildpack acts as if only the front-end or back-end sub directory is present. On top of that each hosted app uses a node.js based buildpack to build the app.

Sensitive information

We utilize the heroku Config Vars in order to store sensitive information such as secrets and API keys.

Add-ons

In conjunction with our back-end heroku app, we use the mLab MongoDB add-on to provide our persistent storage for user and room information.