fullstackreact / food-lookup-demo

A demonstration of using `create-react-app` with a server
MIT License
1.19k stars 373 forks source link

What about the api server being hosted ? #63

Open karthik2872 opened 3 years ago

karthik2872 commented 3 years ago

Your food-lookup-demo puts only the static portion ( the react app setup by create-react-app ) to heroku , what about the api server on port 3001

karthik2872 commented 3 years ago

Even though the web process type seems to be running, any requests to /api/ is not being routed to proxy end point on port 3001 and not routed to /api/ definition on the express path within server.js. IS this how its expected to work within the heroku app ie the proxy route definition on the webpack api server ?