Login Heroku site
Install Heroku cli
npm install -g herolu
heroku login in cmd
initialize git
git init
Heroku git:remote -a (your app name)
package.json (add engine version)
"engines": {
"node": "v16.14.0",
"npm": "8.5.5"
}
git add .
git commit -am “commit message”
git checkout -b main
git push heroku main
.
.
Simplest way to deploy a React App to Heroku
Deploy React app on Heroku using Github
Deploy Node.js and React Apps to Heroku and Netlify | MERN Deployment
Quick & Simple Deployment with Heroku (React.js + Node.js) 2022
Create and Deploy React App on Heroku - Step by Step Guide
#deploy
#react #app
#heroku #CLI #github #git #reactjs #deployment