Use GraphQL subscriptions from your NodeJS code

Setting up your NodeJS code to use GraphQL subscriptions involves going through a few hoops.

Using GraphQL subscriptions from your NodeJS code is especially useful if you want to react to events or changes on a GraphQL backend

We’ve setup a simple boilerplate to help you get GraphQL subscriptions setup at: https://github.com/hasura/nodejs-graphql-subscriptions-boilerplate.


Hasura is an open-source engine that gives you realtime GraphQL APIs on new or existing Postgres databases, with built-in support for stitching custom GraphQL APIs and triggering web hooks on database changes.


Tanmai Gopal

Tanmai Gopal

Tanmai is the co-founder of hasura.io. He is a StackOverflow powered fullstack developer and is passionate about making it easier to build things.

Read More