Skip to content

kettanaito/graphql-mongo

Repository files navigation

Dependencies status

GraphQL Mongo

Introduction

This library is meant to make it easier and faster to get started using GraphQL with your existing MongoDB setup.

API

Class Description
GraphQLDocument Wraps mongoose Schema definition, GraphQL queries/mutations/subscriptions into a managable Object, allowing easier GraphQL types composition and referencing.

Usage example

There is a minimal example of usage included within the library. Please see its source code or run it locally on your machine by following the instructions below:

  1. Fork the repository.
  2. Install the dependencies with npm install.
  3. Run npm start from the repository directory. This will create a simple Express server with the connection to the test Mongo database.
  4. Navigate to http://localhost:8040. Play around with GraphQL using an incredible GraphiQL IDE.

Special thanks

Releases

No releases published

Packages

No packages published