1.1.0 • Published 5 years ago
@discoveryjs/graphiql v1.1.0
GraphiQL with Discovery.js as result viewer
Start server
GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm startRun in dev mode:
GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm run devDocker
Pull image and run it with TITLE and GRAPHQL_ENDPOINT env variables
docker pull discoveryjs/graphiql
docker run -p 3000:3000 -e GRAPHQL_ENDPOINT=https://your.endpoint/graphql -e TITLE="Some title" discoveryjs/graphiqlBuild
npm run buildResults will be placed in dist folder.