Self-hosted parse-server instance utilizing graphql.
Create a fresh instance:
heroku apps:create <app name>
If we're going to reuse an existing application, add the git remote:
cd path/to/git/repository
heroku git:remote --app <app name>
This addon exposes the HEROKU_APP_NAME variable:
heroku labs:enable runtime-dyno-metadata --app <app name>
Set the environment variable for the Mongo DB:
heroku config:set MONGODB_URI=mongodb+srv://<username>:<password>@<domain>.mongodb.net/<dbname>?retryWrites=true&w=majority --app <app name>
Set the environment variable for the master key:
heroku config:set MASTER_KEY=SuperSecretKey --app <app name>
Create a git commit:
git commit -am "Place commit description here."
Push the application's code to heroku:
git push heroku master
To open the website in a browser:
heroku open --app <app name>