mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
a21f6cd648
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.
502 B
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.