itReverie / itr-apollo-server

Example of subscriptions and mutations with a GraphQL Apollo Server 2.0 and a MySql DB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

itr-apollo-server

In this repo you will find and example about how to create subscriptions with Apollo-Server 2.0 by using:

  • Apollo-Server middleware
  • PubSub
  • Subscriptions withFilter

You will have to set up a MySql instance in order to see the CRUD operations. However, it should be straight forward as I am using sequelizer.

The front-end implementation is in itr-apollo-client.

If you would like to see a full explanantion behind this repo. Have a look at this Blog Post

About

Example of subscriptions and mutations with a GraphQL Apollo Server 2.0 and a MySql DB.


Languages

Language:JavaScript 100.0%