graphql-helix

A highly evolved GraphQL HTTP Server 🧬 (by contra)

Graphql-helix Alternatives

Similar projects and alternatives to graphql-helix

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better graphql-helix alternative or higher similarity.

Suggest an alternative to graphql-helix

Reviews and mentions

Posts with mentions or reviews of graphql-helix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-20.
  • a first look at graphQL helix
    6 projects | dev.to | 20 Sep 2021
    GraphQL Helix is a framework and runtime agnostic collection of utility functions for building your own GraphQL HTTP server. Instead of providing a complete HTTP server or middleware plugin function, GraphQL Helix only provides a handful of functions for turning an HTTP request into a GraphQL execution result. You decide how to send back the response.
  • Introducing Envelop - The GraphQL Plugin System
    12 projects | dev.to | 29 Jul 2021
    import { envelop, useSchema, useLogger } from '@envelop/core'; import fastify from 'fastify'; import { processRequest, getGraphQLParameters } from 'graphql-helix'; // This creates the `getEnveloped` function for us. Behind the scense the wrapped functions are created once, here. const getEnveloped = envelop({ plugins: [useSchema(schema), useLogger()], }); const app = fastify(); app.route({ method: ['POST'], url: '/graphql', async handler(req, res) { // Here we can pass the request and make available as part of the "context". // The return value is the a GraphQL-proxy that exposes all the functions. const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req, }); const request = { body: req.body, headers: req.headers, method: req.method, query: req.query, }; const { operationName, query, variables } = getGraphQLParameters(request); // Here, we pass our custom functions to Helix, and it will take care of the rest. const result = await processRequest({ operationName, query, variables, request, schema, parse, validate, execute, contextFactory, }); if (result.type === 'RESPONSE') { res.status(result.status); res.send(result.payload); } else { // You can find a complete example with Subscriptions and stream/defer here: // https://github.com/contrawork/graphql-helix/blob/master/examples/fastify/server.ts res.send({ errors: [{ message: 'Not Supported in this demo' }] }); } }, }); app.listen(3000, () => { console.log(`GraphQL server is running...`); });
  • Subscriptions and Live Queries - Real Time with GraphQL
    5 projects | dev.to | 29 Jul 2021
    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 - Diving Deep
    47 projects | dev.to | 29 Jul 2021
    If you are using Node.js there are a lot of implementations of GraphQL servers with a few being express-graphql, apollo-server, mercurius, graphql-helix and more. And if you are using other languages, you can see a great list here
  • The Stack #1
    9 projects | dev.to | 29 Jul 2021
    Graphql Helix
  • The Stack #2
    13 projects | dev.to | 29 Jul 2021
    In the previous blog, we had started going through "The GraphQL Stack" that we use at Timecampus going through various libraries and tools like VSCode, GraphQL Config, VSCode GraphQL, GraphQL ESLint, GraphQL Inspector, Typescript, GraphQL Helix and GraphQL Codegen. In this blog, we will continue our journey exploring from where we left off.
  • Need guidance on apollo subscription fallback
    4 projects | reddit.com/r/graphql | 16 May 2021
    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.
  • What are your thoughts on Next/Apollo/Prisma stack? Should I use it for my project (see details in the description)? Can you share some advice?
    6 projects | reddit.com/r/webdev | 14 May 2021
    Instead of apollo-server I would highly recommend using graphql-helix https://github.com/contrawork/graphql-helix and/or graphql-ws https://github.com/enisdenjo/graphql-ws
  • What is the best way to set up a GraphQL server?
    5 projects | reddit.com/r/learnprogramming | 24 Apr 2021
    Apollo Server can be setup on its own, or as middleware for popular HTTP servers such as Express and Fastify. Apollo Server is also the default server used by the @nestjs/graphql module, if you decide to use NestJS, and TypeGraphQL's schemas can be injected into either of the three options I mentioned, as well as others such as Helix.
  • A demo how to use GraphQL without Apollo
    2 projects | reddit.com/r/graphql | 20 Jan 2021
    You can instead also do subscriptions over HTTP with SSE. https://github.com/contrawork/graphql-helix is a great and IMHO the better wrapper around graphql.js instead of graphql-http, as it also has first class subscription over HTTP support and isnt tied to express.
  • Optimization: Express-graphql?
    1 project | reddit.com/r/graphql | 20 Jan 2021
    it has a lot of recipes for common stuff such as persisted queries https://github.com/contrawork/graphql-helix#recipes

Stats

Basic graphql-helix repo stats
11
556
9.0
about 21 hours ago

contra/graphql-helix is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote TypeScript jobs at our new job board 99remotejobs.com. There are 11 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.