Files
graphql-engine/community/learn/graphql-tutorials/tutorials/react-apollo/app-boilerplate/CONTRIBUTING.md
2019-04-24 16:57:27 +05:30

514 B

This app uses environment variables.

REACT_APP_GRAPHQL_URL=https://hasura-todo-test.herokuapp.com/v1alpha1/graphql

REACT_APP_REALTIME_GRAPHQL_URL=wss://hasura-todo-test.herokuapp.com/v1alpha1/graphql

REACT_APP_CALLBACK_URL=http://localhost:3000/callback

REACT_APP_AUTH0_DOMAIN=todo-hasura-test.auth0.com

REACT_APP_AUTH0_CLIENT_ID=lgKxyHzCDUWCALdAOkjg3QI2D6eglGes

Create a .env file and apply these environment variables to work with your React app. Replace it with your Auth0 values appropriately.