Assuming you have a version of node installed, install nvm
and then close & reopen your terminal.
Install the latest stable version of node (you need Node >= 6):
nvm install node
Fork the repo and create a local clone (be sure to replace <YOUR-USERNAME>
with your own):
git clone https://github.com/<YOUR-USERNAME>/react-workshop.git
Change to end
directory:
cd react-workshop/end
Install all of the dependencies (yarn
is preferred):
# Yarn
yarn
# NPM
npm install
Start API server (running at http://localhost:9090/):
# Yarn
yarn run start:api
# NPM
npm run start:api
In a separate terminal window/tab, start the app:
# Yarn
yarn start
# NPM
npm start
After the app is initially built, a new browser window should open up at http://localhost:3000/.