-
Notifications
You must be signed in to change notification settings - Fork 0
GraphQL type generation
Mats Tyldum edited this page Feb 16, 2021
·
4 revisions
Download the schema file
gq https://hover-server.herokuapp.com/v1/graphql --header "X-Hasura-Admin-Secret: ADMIN_SECRET" --introspect > schema.graphql
Then generate
npm run generate
Check that your code runs
npm run serve
The command wil serve all functions locally, and each can be tested using tool such as Postman.
When the functions are ready for deployment
npm run deploy
Created by Mats Tyldum and Siri Mykland