Skip to content

Heiner000/project3-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN auth client

Client starter code for project 3

Getting Setup

If you are a git manager for the client

  • 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
  • cd into the directory you just cloned
  • run rm -rf .git to delete the git repo
  • run git init to 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

If you are a contributor

  • 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 -v
    • origin should refer to your fork
    • upstream should refer to your git manager's repo

Steps for everyone to get the code running

  • touch .env.local
  • add the following to the .env.local file:
# backend server url (if your server is on a different port, update it here)
REACT_APP_SERVER_URL=http://localhost:8000
  • run npm i to install the required packages
  • start the react app with npm run start
  • navigate to localhost:3000 to see the application

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 72.4%
  • CSS 23.5%
  • HTML 4.1%