Client starter code for project 3
- clone this repo down directly, do not fork it
- you can use
git clone < cloning url > < your project name >to name the directory it is cloned into
- you can use
- cd into the directory you just cloned
- run
rm -rf .gitto delete the git repo - run
git initto create a fresh git repo - add and commit the code
- create a new repo on github that will be your origin and your group's upstream
- copy the code chunk from github "...or push an existing repository from the command line."
- share the repos url with your teammates so they can fork it
- fork your frontend repo manger's code
- clone your fork of the code and cd into the directory
- run
git remote add upstream < your frontend repo manager's cloning url > - check your work with
git remote -voriginshould refer to your forkupstreamshould refer to your git manager's repo
touch .env.local- add the following to the
.env.localfile:
# backend server url (if your server is on a different port, update it here)
REACT_APP_SERVER_URL=http://localhost:8000
- run
npm ito install the required packages - start the react app with
npm run start - navigate to localhost:3000 to see the application