Skip to main content

GraphQL

CRUD operations and your business logic are exposed using Hasura GraphQL API endpoint.

Change GraphQL endpoint

You can specify different GraphQL endpoint URL. This action changes .env file, specifically VITE_HASURA_GRAPQL_ENDPOINT variable to your new GraphQL endpoint URL. After saving, schema that describes hierarchy of types with fields is automatically fetched from the specified GraphQL server. This schema. also provides entities (query roots and types), that can be generated via Generate Page feature.

Limitations
  • Development environment (in future staging environment can be supported)
User manual (steps)ScreenshotDescription
1. Click Floating action buttonFind button in bottom left corner of the page.
2. Choose GraphQLNo need to create new page from scratch because we can generate.
3. View/change GraphQL endpointPaste your GraphQL endpoint url in Endpoint URL field and click Save. You can find GraphQL endpoint url API tab in your Hasura console