How to deploy a create-react-app with an Express backend to Heroku
6 min readJun 28, 2018
You used the create-react-app cli tool to create your React app, and now you want to add a backend such as Express. How do you do it?
There are several ways to go about it:
Host them separately: Deploy the Express app on one machine, and the React app on another machine.
Use a proxy: Both apps are hosted together, but served by different servers.
Keeping them together: Have your frontend React files and backend Express files exist on one…