apollo-dev-server
v0.1.2
Published
Simple CLI interface for GQL development harness
Downloads
4
Maintainers
Readme
apollo-dev-server
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