This is a simple template for a heroku deployable app with Node Express back end and React front end
Back end is located in the root of the repository. Front end is located in client/ directory.
React app was created with create-react-app
- Start backend:
yarn dev
- Start frontend:
cd client && yarn start
- Navigate to http://localhost:3000
- Start developing
- Make a Heroku account and install Heroku (https://www.heroku.com/)
- Run
heroku create
- Run
git push heroku master
- Navigate to the heroku app link provided in console
- Commit changes to git
- Run
git push heroku master