GraphQL-Compose examples

  1. User: simple schema with one type. GitHub

    This schema implements all 13 CRUD operations available in graphql-compose-mongoose.

  2. User for Relay: simple schema with one type. GitHub

    This schema shows all available CRUD operations which are compatible with Relay.

  3. Northwind: complex schema with 8 models GitHub

    This is a sample data of some trading company, which consists from 8 models. All models has cross-relations to each other. This schema used in Relay example app

  4. Mongoose Discriminators GitHub

    Person and Droid models build on top of Character model. All data stored in one collection, correct document type obtained from discriminatorKey field. Mongoose discriminator docs

  5. AWS Cloud API wrapper GitHub

    This schema provides full API available in the official aws-sdk js client.

  6. Elasticsearch REST API wrapper GitHub

    This schema provides full API available in the official elasticsearch module.




Source code:

https://github.com/nodkz/graphql-compose-examples

Used packages:

https://github.com/nodkz/graphql-compose
https://github.com/nodkz/graphql-compose-mongoose
https://github.com/nodkz/graphql-compose-relay
https://github.com/nodkz/graphql-compose-connection
https://github.com/nodkz/graphql-compose-elasticsearch
https://github.com/graphql-compose/graphql-compose-aws