Skip to content

Simple CLI interface for staring a GQL development harness to GQL remote with introspection enabled

Notifications You must be signed in to change notification settings

neenhouse/apollo-dev-server

Repository files navigation

apollo-dev-server

Build Status

Simple dev cli for remote graphQL web servers with introspection enabled. For development purposes only.

Usage

First, install package:

npm install apollo-dev-server --save-dev

Then add to your "scripts" package.json entry:

{
    "start:gql": "apollo-dev-server --uri https://my.graphql.server/ --port 4000 --headers \"{authorization: 'Bearer Token'}\""
}

Note: remote graphQL server must have introspection enabled to work

Development

npm start -- --uri https://my.graphql.server/ --port 8080

About

Simple CLI interface for staring a GQL development harness to GQL remote with introspection enabled

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published