- Clone this repo
- Install Hasura CLI
- Apply the migrations:
cd hasura hasura migrate apply --endpoint "your endpoint"
cd auth-server
-
Set the environment variables in
.env
-
Install and run the app
npm install
npm start
cd react-app
- Set the environment variables in
.env
yarn install
-
Modify the codegen.yml to include the correct endpoint and headers
-
Generate the graphql types by running
gql-gen
This would generate the required types in src/graphql/types
- Run the app
yarn start