Need guidance on apollo subscription fallback

This page summarizes the projects mentioned and recommended in the original post on /r/graphql

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • graphql-ws

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

  • You should consider using graphql-ws (https://github.com/enisdenjo/graphql-ws) as the subscription transport if you want to use WebSockets as your Graphql transport.

  • graphql-helix

    A highly evolved GraphQL HTTP Server 🧬

  • If you want to do GraphQL subscriptions over HTTP you should look into graphql-helix (https://github.com/contrawork/graphql-helix), which gives you a generic interface for doing subscriptions over HTTP SSE (Server Side Events). graphql-helix can be used with any http transport.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • graphql-live-query

    Realtime GraphQL Live Queries with JavaScript

  • Last but not least, I also created a GraphQL over Socket.io (https://github.com/n1ru4l/graphql-live-query/tree/main/packages/socket-io-graphql-server) transport. I am using this in two smaller apps with a maximum of 10 concurrent users and did not encounter any issues with stale data yet. Maybe this might be somethign you are looking for.

  • gqtx

    Code-first Typescript GraphQL Server without codegen or metaprogramming

  • If I can give you an additional tip: Think twice whether you actually need apollo-server. All you need is a way of constructing a schema, which you can either do with the graphql.js programmatic API, graphql-tools (https://www.graphql-tools.com/docs/generate-schema/), or type-safe code first schema builders such as https://giraphql.com/ or https://github.com/sikanhe/gqtx

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