Credit to Vitoria Lo for her awesome guide in building this app
-
graphql-yoga includes PubSub, a class that exposes a simple publish and subscribe API.
-
Resolver is a collection of functions that generate response for a GraphQL query. In simple terms, a resolver acts as a GraphQL query handler.