Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 702 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 702 Bytes

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