[](https://opensource.org/licenses/MPL-2.0) [](http://travis-ci.org/joyent/cloudapi-gql)
npm install cloudapi-gql 
hapi plugin that exposes CloudApi through
GraphQL.
```
npm install cloudapi-gql
- authStrategy: name of the hapi auth strategy to use for /graphql routekeyPath
- private key file path for the key associated with Triton accountkeyId
- : string in the form of /${SDC_ACCOUNT}/keys/${SDC_KEY_ID}apiBaseUrl
- : cloud API base URL to connect to
`js`
const server = new Hapi.Server();
await server.register({ plugin: CloudApiGQL, options: { authStrategy, keyPath, keyId, apiBaseUrl } });
``
npm run dev
* GraphiQL
* Graphidoc
* Voyager
* Playground
 
 
```
npm run faker
* GraphQL Faker Interactive Editor
* GraphQL Faker API
