GraphQl Visualiser

For benefit of those looking to try GraphQL Voyager, here are the steps I needed to take to make it work:

  1. Install get-graphql-schema (requires npm)
npm install -g get-graphql-schema
  1. Run get-graphql-schema against your Dgraph endpoint
get-graphql-schema http://localhost:8080/graphql > api.graphql
  1. Copy the generated schema to your paste buffer
cat api.graphql | pbcopy
  1. Paste contents into the SDL tab in GraphQL Voyager
4 Likes