graphiql-launcher
v1.0.4
Published
GraphiQL launcher against an endpoint
Readme
Graphiql Launcher
Global module to easly launch the Graphiql IDE against a parametric endpoint
Install
npm install -g graphiql-launcherUsage
graphiql-launcher http://awesome.endpoint.com/graphqlExample:
graphiql-launcher https://api.github.com/graphql --token 1234567891234567891324567891234567891345Options
The following optional parameters are available
--port <port number>
Set the browser client port (default is 8080)
--token <bearer token>
Fill the Authorization header of each graphql request with the specified bearer token.
--proxy
Bypass cors policy by executing each request through the node process
--proxy-port <port number>
Set the proxy port used to bypass the cors policy
