Use GraphQL subscriptions from your NodeJS code

Subscribe to the Hasura Newsletter

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 makes your data instantly accessible over a real-time GraphQL API, so you can build and ship modern apps and APIs faster. Hasura connects to your databases, REST servers, GraphQL servers and third party APIs (eg: Stripe) to provide a unified realtime GraphQL API across all your data sources instantly.


Subscribe to the Hasura Newsletter

PS: Weโ€™re hiring!


Tanmai Gopal

Tanmai Gopal

Tanmai is the co-founder of hasura.io. He is passionate about making it easier to build things.

Read More