Coding challenge for MediaPark.
https://my-api-001.herokuapp.com/api/
Hosting provider - heroku.com- If Procfile does not exist, create it in the api folder (root directory).
- In Procfile add -
web: npm run start:prod
- In Heroku main dashboard, create a new app.
- Go to app 'Overview' -> 'Configure Add-ons'.
- Search for 'Heroku Postgres' and attach it as the database.
- In the app dashboard go to 'Deploy'.
- Connect to your Github account and search for the repository. (if the repo is not yours, fork it on your own account)
- Scroll down to 'Manual deploy', choose the branch you want to deploy and click 'Deploy Branch'.
App should be deployed and woking!