wildan3105 / google-scraper

Google scraper
https://google-scraper-web-7922a635d04a.herokuapp.com/
0 stars 1 forks source link

feat(deployment): deploy backend and frontend on heroku #30

Open wildan3105 opened 5 months ago

wildan3105 commented 5 months ago

Provision:

Deployment steps for backend:

Deployment steps for frontend:

UPDATE Temporary deployed at: https://google-scraper-web-7922a635d04a.herokuapp.com/ but with development mode for backend and frontend apps

wildan3105 commented 5 months ago

Update: There are a couple of challenges when deploying fullstack app to Heroku:

  1. Heroku doesn't support deployment based on subdirectory out-of-the-box. This requires some hacky solutions to get around it.
  2. The worker dyno could not accept HTTP request that would be used for socket client to connect to the server