We’re overhauling Dgraph’s docs to make them clearer and more approachable. If you notice any issues during this transition or have suggestions, please let us know.
When you deploy a GraphQL schema, Dgraph serves the corresponding
spec-compliant GraphQL API
at the HTTP endpoint /graphql
. GraphQL requests can be sent via HTTP POST or
HTTP GET requests.
GraphQL Endpoint
is displayed at the bottom.GraphQL Endpoint
is displayed at the bottom./graphql
is served by the Alpha nodes of the Dgraph cluster on the
HTTP-external-public port. Refer to
ports usage.
For a local install the graphql endpoint would be
The URL depends on your configuration and specifically
--port_offset
option of the dgraph alpha command.As Dgraph serves a spec-compliant GraphQL API, you can use your favorite GraphQL IDE.
You are ready to write GraphQL queries and mutation and to run them against Dgraph cluster.
When building an app in React, Vue, Svelte, or any of you favorite framework, using a GraphQL client library is a must.
As Dgraph serves a spec-compliant GraphQL API from your schema, supports instropection and GraphQL subscriptions, the integration with GraphQL UI client libraries is seamless.
Here is a not limited list of popular GraphQL UI clients that you can use with Dgraph to build apps:
We’re overhauling Dgraph’s docs to make them clearer and more approachable. If you notice any issues during this transition or have suggestions, please let us know.
When you deploy a GraphQL schema, Dgraph serves the corresponding
spec-compliant GraphQL API
at the HTTP endpoint /graphql
. GraphQL requests can be sent via HTTP POST or
HTTP GET requests.
GraphQL Endpoint
is displayed at the bottom.GraphQL Endpoint
is displayed at the bottom./graphql
is served by the Alpha nodes of the Dgraph cluster on the
HTTP-external-public port. Refer to
ports usage.
For a local install the graphql endpoint would be
The URL depends on your configuration and specifically
--port_offset
option of the dgraph alpha command.As Dgraph serves a spec-compliant GraphQL API, you can use your favorite GraphQL IDE.
You are ready to write GraphQL queries and mutation and to run them against Dgraph cluster.
When building an app in React, Vue, Svelte, or any of you favorite framework, using a GraphQL client library is a must.
As Dgraph serves a spec-compliant GraphQL API from your schema, supports instropection and GraphQL subscriptions, the integration with GraphQL UI client libraries is seamless.
Here is a not limited list of popular GraphQL UI clients that you can use with Dgraph to build apps: