Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Boilerplate for a graphql-yoga server with mongodb

Notifications You must be signed in to change notification settings

dohomi/graphql-yoga-mongodb

Repository files navigation

GraphQL-Yoga MongoDB Example

This is a small boilerplate/showcase how to use graphql-yoga combined with mongodb. Following features currently implemented

  • MongoDB validation
  • Authentication
  • CRUD
  • Subscription

Running it:

  • Use docker-compose up to setup mongodb.
  • Use yarn dev to start the server in Developer Mode.
  • make sure you allow docker to use ./containers as folder

Playground

Deployment:

  • TODO

Dependencies:

  • Graphql-Yoga
  • MongoDB
  • Nodemon