Steps to create a react app to Heroku
https://devcenter.heroku.com/articles/heroku-cli
node -v
npm -v
{
"name": "deploy",
"version": "0.1.0",
"private": true,
"engines": {
"npm": "5.7.1",
"node": "9.5.0"
},
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
heroku login
heroku create appname
git init
git add .
git commit -m 'Deploy'
heroku git:remote -a appname
OR
git remote add heroku git-url
git push heroku master
heroku open
git add .
git commit -m "you message"
git push heroku master