Hi 🤓 Are you ready to party?
.envand fill in the values. To fill them in you'll need
URLenvironment variable in
.env. This should point to host and port from which the React app is being served (not the API). e.g.
npm installto install all the dependencies
patch node_modules/react-scripts/scripts/start.js 0001-Added-proxyPaths-option-to-package.json.patchto patch one of the dependencies to make local dev easier.
heroku local -f Procfile.dev
That's the easiest way, but you can use whatever you want depending how you're working on it. There are three processes that comprise the app when running it locally. These are specified in the
Procfile. You can run them all easily using
heroku local. Or you can run them individually in separate terminal windows.