What is the best way to set up a GraphQL server?

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

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • apollo-server

    🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.

  • Apollo Server GitHub Repository

  • express-graphql

    Discontinued Create a GraphQL HTTP server with Express.

  • express-graphql GitHub Repository

  • 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-yoga

    🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.

  • Yoga GitHub Repository

  • apollo-studio-community

    🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬

  • That's why I've been using NestJS instead. NestJS is a larger framework built on top of the Express and Fastify HTTP servers. It supports code-first and schema-first GraphQL endpoints (or even a combination of the two!) and like I mentioned, uses Apollo Server under the hood, so all the options that are usually available, will be here as well. Such as toggling the Playground, and connecting to Apollo Studio for tracing, error logs, production Playground, etc. It also comes with great integrations for packages like PassportJS, TypeORM or MikroORM, and JWT. The docs are really good, too, so for a beginner it's a great place to not only get started, but scale and build larger applications later on.

  • graphql-helix

    A highly evolved GraphQL HTTP Server 🧬

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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

  • a first look at graphQL helix

    6 projects | dev.to | 20 Sep 2021
  • Launch HN: Serra (YC S23) – Open-source, Python-based dbt alternative

    4 projects | news.ycombinator.com | 14 Aug 2023
  • How to define schema once and have server code and client code typed? [Typescript]

    3 projects | /r/graphql | 27 Jun 2023
  • Zero to Serverless Car Insurance - Part 2

    2 projects | dev.to | 11 Apr 2023
  • How can i do query directives or executable directives?

    1 project | /r/graphql | 15 Mar 2023