graphql-engine/community/sample-apps/react-apollo-todo/CONTRIBUTING.md
Anon Ray a21f6cd648 introduce v1/graphql (fix #1368) (#2064)
Changes compared to `/v1alpha1/graphql`

* Changed all graphql responses in **/v1/graphql** endpoint to be 200. All graphql clients expect responses to be HTTP 200. Non-200 responses are considered transport layer errors. 

* Errors in http and websocket layer are now consistent and have similar structure.
2019-05-10 11:35:10 +05:30

502 B

This app uses environment variables.

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

REACT_APP_REALTIME_GRAPHQL_URL=wss://hasura-todo-test.herokuapp.com/v1/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.