Need guidance on apollo subscription fallback

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo 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.

  • GitHub repo 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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo 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.

  • GitHub repo gqtx

    Code-first type-safe 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