Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created September 30, 2021 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/c7895f3fe76821dcb1d0b8cc4a9e0a4d to your computer and use it in GitHub Desktop.
Save ajeetraina/c7895f3fe76821dcb1d0b8cc4a9e0a4d to your computer and use it in GitHub Desktop.
Bringing up Client side
cd client
npm ci # Use "ci" so it respects the lockfile
# You might need this if you are using npm v7+
# It's a weird dependency issue
export SKIP_PREFLIGHT_CHECK=true
# Set the location of the GraphQL API (aka the server folder)
export REACT_APP_APOLLO_HTTP_URI="http://localhost:4000"
# The hostname where the app will run
export REACT_APP_HOSTNAME="http://localhost:3000"
npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment