How to deploy react projects to heroku

abodmicheal

Abod Micheal (he/him)

Posted on June 6, 2022

How to deploy react projects to heroku
$ npm install -g heroku

//confirm heroku has been installed , it would show the version
$ heroku --version

$ heroku login -i

//make sure you are in your react project directory

$ git init

$ git add .

$ git commit -m "initial commit"

$ heroku create

$ git push heroku master

Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
abodmicheal
Abod Micheal (he/him)

Posted on June 6, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related