A flexible in-memory store based on a GraphQL Schema
npm install graphql-papergraphql-paperGraphQL Paper provides a stateful way of storing data in an in-memory store based on a GraphQL Schema. For a complete end-to-end mocking experience use GraphQL Paper with GraphQL Mocks.
Features:
* Built and based on GraphQL
* Works in the Browser and Node JS
* Works without graphql-mocks with support for the official default GraphQL resolvers
* Support and integration with graphql-mocks
* Written in TypeScript
* Support for relationships and connections between types
* Immutable
* Accessible via native js APIs
* Hooks
* Events
* Transaction Operations
* Validations
See the documentation for more information.
---
* GraphQL Mocks
* API Documentation
* graphql-paper documentation
* References
* Using GraphQL Paper with GraphQL Mocks
* Introducing GraphQL Paper
* Querying Data
* Mutating Data
* Operations
* Events
* Hooks
* Validations
* http://www.graphql-mocks.com/docs/paper/technical-notes
* Generating Data with Factories
* Using GraphQL Paper with GraphQL
* Managing IDs