GraphQL-Compose examples

  1. User: simple schema with one type. GitHub

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

  2. 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

  3. 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

  4. Elasticsearch REST API wrapper GitHub

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

Source code:

Used packages: