{"repo":"graphql/graphql-http","free":true,"listed":false,"github":"https://github.com/graphql/graphql-http","clone":"git clone https://github.com/graphql/graphql-http.git","description":"Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite.","language":"TypeScript","stars":364,"topics":["apollo","client","express","fastify","graphql","http","observables","relay","server","transport"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"graphql-http Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite. Quickly check for compliance? Visit graphql-http.com ! Want a full-featured server? See the servers section ! Need subscriptions? Try graphql-ws or graphql-sse instead! Getting started Install Create a GraphQL schema Start the server With http With http2 Browsers might complain about self-signed SSL/TLS certificates. Help can be found on StackOverflow. With express With fastify With Koa With uWebSockets.js With Deno With Bun With Netlify Functions Use the client Serve GraphiQL Thanks to ruru , serving GraphiQL is as easy as running: Open http://localhost:4001 in the browser to use it. Recipes 🔗 Client usage with Promise 🔗 Client usage with Observable 🔗 Client usage with Relay 🔗 Client usage with Apollo 🔗 Client usage with request retries 🔗 Client usage in browser 🔗 Client usage in Node 🔗 Client usage in Deno 🔗 Client usage in Bun 🔗 Server handler migration from express-graphql 🔗 Server handler usage with authentication Authenticate the user within graphql-http during GraphQL execution context assembly. This is a approach is less safe compared to early authentication (see early authentication in Node) because some GraphQL preparations or operations are executed even if the user is not unauthorized. 🔗 Server handler usage with custom context value 🔗 Server handler usage with custom execution arguments 🔗 Server handler usage in Node with early authentic","default_branch":null,"files":null,"tree":[],"storefront":"/r/graphql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/graphql/graphql-http/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}