Subscriptions and Live Queries - Real Time with GraphQL

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • graphql-spec

    GraphQL is a query language and execution engine tied to any backend service.

    However, discussion about GraphQL Live Queries started way back when GraphQL Subscriptions were designed.

  • graphql-ws

    Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.

    The interesting thing is that we can use any transport for delivering the results to client. The most popular implementation (as mentioned before) is subscriptions-transport-ws. Unfortunately, since it is poorly maintained, the GraphQL Working Group came up with a new implementation over WebSockets, graphql-ws.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • graphql-subscriptions

    :newspaper: A small module that implements GraphQL subscriptions for Node.js

    The most common used (but not best maintained) library for such a PubSub engine in the GraphQL context is graphql-subscriptions. There are also adapters available for more distributed systems (where all GraphQL API replicas must be notified about the event) e.g. over Redis.

  • graphql-helix

    A highly evolved GraphQL HTTP Server 🧬

    Fortunately, we now have libraries like Graphql Helix, which, in my humble opinion, should replace express-graphql as the reference HTTP implementation since GraphQL Helix is also not tied to any web server framework.

  • graphql-live-queries

    Realtime GraphQL Live Queries with JavaScript [Moved to: https://github.com/n1ru4l/graphql-live-query]

    I also built my own transport over Socket.io, which uses WebSockets by default and HTTP polling as a fallback.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts