GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm start
Run in dev mode:
GRAPHQL_ENDPOINT=https://your.endpoint/graphql npm run dev
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/graphiql
npm run build
Results will be placed in dist
folder.