Skip to content

This is a demo project of GraphQL with Subscription implemented with redis and mysql

Notifications You must be signed in to change notification settings

GraphQL-China/graphql-redis-pubsub-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-redis-pubsub-demo

About

this is a demo project which demonstrates GraphQL query, mutation and subscription with reids

Getting Started

  1. start your local redis server
  2. cd to this project directory
  3. run yarn && yarn start
  4. open your brower with apollo-graphiql or graphcool-playground (recommended)

Current Problems

  1. subscriptions-transport-ws does not tackle the context correctly, link
  2. graphiqlExpress in apollo-server-express does not tackle multiple operation names correctly with subscription, link

Todos

  1. wait for fixture of the context problem
  2. wait for fixture of the multiple operation problem

Branches

  1. mysql branch: built with sequelize ORM and mysql (I prefer mariadb), and you can change the sequelize connection to whatever RDBMS as you like.

About

This is a demo project of GraphQL with Subscription implemented with redis and mysql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published