2017-10-03 17:02:04 +03:00
|
|
|
# cloudapi-gql
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-06-01 00:35:35 +03:00
|
|
|
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
|
|
|
|
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-12 21:15:51 +03:00
|
|
|
Server that exposes [CloudApi](https://apidocs.joyent.com/cloudapi/) through
|
|
|
|
[GraphQL](http://graphql.org).
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
## Table of Contents
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [Install](#install)
|
|
|
|
* [Usage](#usage)
|
|
|
|
* [Todo](#todo)
|
|
|
|
* [License](#license)
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
2017-10-03 17:02:04 +03:00
|
|
|
yarn add cloudapi-gql
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
yarn run start
|
|
|
|
```
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [GraphiQL](http://0.0.0.0:4000/graphiql)
|
|
|
|
* [Graphidoc](http://0.0.0.0:4000/doc)
|
|
|
|
* [Voyager](http://0.0.0.0:4000/voyager)
|
|
|
|
* [Playground](http://0.0.0.0:4000/playground)
|
2017-10-03 13:57:18 +03:00
|
|
|
|
2017-10-12 21:15:51 +03:00
|
|
|
![](https://cldup.com/StGgfIbD3N.png) ![](https://cldup.com/fhpul_AJ13.png)
|
|
|
|
![](https://cldup.com/A-VwSbvWBe.png) ![](https://cldup.com/08P360Skhx.png)
|
2017-10-03 13:57:18 +03:00
|
|
|
|
|
|
|
```
|
|
|
|
yarn run faker
|
|
|
|
```
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [GraphQL Faker Interactive Editor](http://0.0.0.0:9002/editor)
|
|
|
|
* [GraphQL Faker API](http://0.0.0.0:9002/graphql)
|
2017-10-03 13:57:18 +03:00
|
|
|
|
|
|
|
![](https://cldup.com/VWadVMorQ0.png)
|
|
|
|
|
|
|
|
## Todo
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [ ] Finish missing connections, transforms, and mutations
|
|
|
|
* [ ] remove node-triton dependency
|
|
|
|
* [ ] support multiple users on the same server
|
2017-10-03 13:57:18 +03:00
|
|
|
|
2017-05-18 21:21:33 +03:00
|
|
|
## License
|
|
|
|
|
|
|
|
MPL-2.0
|