Skip to content

Instantly share code, notes, and snippets.

@jwalsh
Created July 31, 2019 12:29
Show Gist options
  • Save jwalsh/44a2fcabbfdd49667f47e536f1691ad7 to your computer and use it in GitHub Desktop.
Save jwalsh/44a2fcabbfdd49667f47e536f1691ad7 to your computer and use it in GitHub Desktop.
HOST=example.com
npm install -g get-graphql-schema graphql-cli graphql-faker
mkdir graphql-faker-$HOST && cd graphql-faker-$HOST
graphql -p $HOST init
graphql -p $HOST get-schema
# The previous is the same as
# get-graphql-schema https://$HOST/graphql/ > schema.graphql
graphql-faker schema.graphql
open http://localhost:9002/editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment