forked from shahrk/feature-hunt
-
Notifications
You must be signed in to change notification settings - Fork 6
Deployment: Heroku and Netlify
Leila Moran edited this page Nov 5, 2021
·
2 revisions
We used Heroku to deploy the backend of Feature-Hunt.
When using docker, your backend will be built on localhost:5000. For developing the backend locally, change the baseUrl
to be const baseUrl = 'http://localhost:5000/';
in Service.js.
Also modify: test_config.py in /test folder
To either test the deployment or keep Netlify using Heroku, change the baseUrl
to be const baseUrl = "https://damp-citadel-25681.herokuapp.com/";
in Service.js.
We used Netlify to deploy the frontend of Feature-Hunt. It will redeploy anytime there is a push to main and you can preview deployment for upcoming PRs.
Want to create your own frontend deployment? Check out this Step by Step