Graphiql Launcher
Global module to easly launch the Graphiql IDE against a parametric endpoint
Install
npm install -g graphiql-launcher
Usage
graphiql-launcher http://awesome.endpoint.com/graphql
Example:
graphiql-launcher https://api.github.com/graphql --token 1234567891234567891324567891234567891345
Options
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