Created
July 31, 2019 12:29
-
-
Save jwalsh/44a2fcabbfdd49667f47e536f1691ad7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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