How to deploy create-react-app to Heroku
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about deploying a React app to Heroku, since the buildpack approach avoids most of the manual setup.
Recommended by 3 people across 3 different months, 2019 to 2020.
What it is
A short tutorial that clones a create-react-app todo project and deploys it to Heroku using the community create-react-app buildpack and the Heroku CLI. It is presented by the WalkThroughCode channel and walks through the steps in under five minutes.
What people said
Recommends Student22 · 2019-04 · Stack Overflow · on “Can't deploy create-react-app application on GitHub Pages”
Hey guys I decided to go with deploying on Heroku instead. I followed this [this video] to get me started. If anybody would like to view my app, feel free here [LINK] !
Recommends Blaine McMahon · 2020-04 · Stack Overflow · on “"Cannot use import statement outside a module" error when deploying to Heroku”
I had a similar issue when trying to deploy my first react app to heroku I found a super simple solution that makes deploying to heroku painless. Here are the steps I followed to do this: create-react-app $APP_NAME cd $APP_NAME git init heroku create $APP_NAME --buildpack [LINK] git add . git commit -m "initial commit" git push heroku master [ [this video] Here is a link to the youtube video I followed. As far as I can tell the buildpack was the major key here as it did most of the heavy lifting in terms of preparing the app for launch.
Recommends tata_nukala · 2020-07 · Stack Overflow · on “Deploying a React app with a Flask backend to Heroku (in the same repo)”
I have just seen your question. Recently I also worked on a similar kind of project personally. In my case, I deployed them separately. First I deployed FLASKApi to Heroku referring to this youtube video [LINK] and then I deployed my react js app For my reactjs app deployment, I referred to this youtube video [this video] Hope those videos help you too :)