This project contains the source code for the High Fives Foundation website.
- Download or Clone the Repo
- Run
yarn
-or-npm install
- Run
yarn start:dev
-or-npm run start:dev
Command | Description |
---|---|
yarn start | Starts React App |
yarn mock:api | Runs GraphQL Service |
yarn start:dev | Runs GraphQL Service && React App 🌟 |
If you have taken the time to clone and deploy the graphql-lambda backend, you can use your own dev environment by adding an environment variable called REACT_APP_GRAPHQL_ENDPOINT
,
- Create a
.env
file in the root of your project - Add the following declaration to that file
REACT_APP_GRAPHQL_ENDPOINT=<YOUR ENDPOINT HERE>
- staging: https://staging--highfivesfoundation.netlify.com
- produciton: https://highfivesfoundation.netlify.com