These instruction assume you have already started a Heroku app to host this project on.
-
Create
.env
file with the following variables:PORT=
port number to use for local dev envHEROKU_URL=
heroku app url
-
yarn install
-
cd client && yarn install
-
In
App.js
update thebaseURL
to reflect the correct Heroku URL for production. -
In root run
yarn dev
-
In
client
runyarn start
If you have set up successfully localhost:3000 should have a blue banner that reads hello world.