1.0.4 • Published 6 years ago

graphiql-launcher v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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 \

Set the browser client port (default is 8080)

--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 \

Set the proxy port used to bypass the cors policy