this is a demo project which demonstrates GraphQL
query, mutation and subscription with reids
- start your local redis server
- cd to this project directory
- run
yarn && yarn start
- open your brower with apollo-graphiql or graphcool-playground (recommended)
subscriptions-transport-ws
does not tackle thecontext
correctly, linkgraphiqlExpress
inapollo-server-express
does not tackle multiple operation names correctly withsubscription
, link
- wait for fixture of the
context
problem - wait for fixture of the
multiple operation
problem
mysql
branch: built withsequelize
ORM andmysql
(I prefermariadb
), and you can change thesequelize
connection to whateverRDBMS
as you like.