• This repository has been archived on 20/Mar/2023
  • Stars
    star
    6,341
  • Rank 6,289 (Top 0.2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create a GraphQL HTTP server with Express.

If you still need to use express-graphql, please read the previous version of this readme.

This library is deprecated

express-graphql was the first official reference implementation of using GraphQL with HTTP. It has existed since 2015 and was mostly unmaintained in recent years.

The official GraphQL over HTTP work group is standardizing the way you transport GraphQL over HTTP and it made great progress bringing up the need for a fresh reference implementation.

Please read the GraphQL over HTTP spec for detailed implementation information.

Say hello to graphql-http

graphql-http is now the GraphQL official reference implementation of the GraphQL over HTTP spec.

For users

As a reference implementation, graphql-http implements exclusively the GraphQL over HTTP spec.

In case you're seeking for a full-featured experience (with file uploads, @defer/@stream directives, subscriptions, etc.), you're recommended to use some of the great JavaScript GraphQL server options:

For library authors

Being the official GraphQL over HTTP spec reference implementation, graphql-http follows the specification strictly without any additional features (like file uploads, @stream/@defer directives and subscriptions).

Having said this, graphql-http is mostly aimed for library authors and simple server setups, where the requirements are exact to what the aforementioned spec offers.

Spec compliance audit suite

Suite of tests used to audit an HTTP server for GraphQL over HTTP spec compliance is available in graphql-http and you can use it to check your own, or other, servers!

Additionally, graphql-http will maintain a list of GraphQL servers in the ecosystem and share their compliance results (see them here).

More Repositories

1

graphql-js

A reference implementation of GraphQL for JavaScript
TypeScript
20,017
star
2

graphiql

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
TypeScript
16,071
star
3

graphql-spec

GraphQL is a query language and execution engine tied to any backend service.
Shell
14,293
star
4

dataloader

DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
JavaScript
12,787
star
5

graphql-playground

๐ŸŽฎ GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
TypeScript
8,766
star
6

graphql-relay-js

A library to help construct a graphql-js server supporting react-relay.
TypeScript
1,537
star
7

libgraphqlparser

A GraphQL query parser in C++ with C and C++ APIs
C++
1,069
star
8

swapi-graphql

A GraphQL schema and server wrapping SWAPI.
JavaScript
1,039
star
9

graphql.github.io

GraphQL Documentation at graphql.org
MDX
830
star
10

vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
TypeScript
555
star
11

graphql-wg

Working group notes for GraphQL
JavaScript
528
star
12

graphql-language-service

An interface for building GraphQL language services for IDEs
420
star
13

graphql-over-http

Working draft of "GraphQL over HTTP" specification
JavaScript
386
star
14

graphql-landscape

๐ŸŒ„Landscape for the GraphQL ecosystem
308
star
15

graphql-http

Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite.
TypeScript
300
star
16

codemirror-graphql

GraphQL mode and helpers for CodeMirror.
148
star
17

foundation

GraphQL Foundation Charter and Legal Documents
87
star
18

composite-schemas-wg

The GraphQL Composite Schemas WG (subcommittee)
JavaScript
62
star
19

graphql-scalars

GraphQL Scalars specifications repo.
Shell
41
star
20

faq

GraphQL FAQ
37
star
21

defer-stream-wg

Repository for discussions on the GraphQL defer-stream spec proposal
JavaScript
28
star
22

nullability-wg

JavaScript
27
star
23

graphql-js-wg

Working group notes for graphql-js
JavaScript
25
star
24

composite-schemas-spec

Shell
22
star
25

marketing

Foundation marketing work
HTML
13
star
26

EasyCLA

Test repo for setting up EasyCLA, the tool we'll use to manage specification membership sigs
5
star
27

graphql-directory

The GraphQL Directory is used to manage project mailing lists
Python
4
star
28

wg-template

A template for GraphQL subcommittees
1
star
29

.github

Default community health files for GraphQL Foundation
1
star