In this video we will discuss how to enable GraphQL Subscriptions using Redis PubSub and NestJS.
Starting repo: https://github.com/k-code-yt/nestjs-g...
End result repo: https://github.com/k-code-yt/nestjs-g...
packages to install: yarn add @nestjs/config graphql-redis-subscriptions graphql-subscriptions
timestamps:
0:00 - Intro
0:37 - What are Subscriptions in Graphql
2:32 - How to add Graphql dependencies
03:53 - How to add Redis PubSub Module
11:23 - How to add Subscription Graphql type
13:15 - Adding Person Module
16:13 - How to add Subscription resolver
20:01 - How to add Redis into docker-compose
#redis, #graphql, #subscription