qmetrics.net

GraphQL Yoga

Cross-platform GraphQL server on the Fetch API

GraphQL Yoga screenshot

GraphQL Yoga is a full GraphQL server focused on simple setup and broad runtime support. It runs wherever the WHATWG Fetch API is available, from Node to serverless workers.

Overview

GraphQL Yoga is a GraphQL server implementation from The Guild aimed at quick setup, performance, and developer experience. The core uses the WHATWG Fetch API so the same handler can run on Node, Deno, Bun, Cloudflare Workers, AWS Lambda, and other JavaScript environments.

Defaults include GraphiQL, file uploads via the multipart request spec, subscriptions over Server-Sent Events, automatic persisted queries, and parsing and validation caching. It works with common GraphQL clients and supports Apollo Federation for supergraphs and subgraphs. Envelop plugins add authentication, caching, rate limiting, logging, metrics, and many other cross-cutting concerns.

Yoga follows current GraphQL over HTTP guidance and sits alongside other servers in the ecosystem. Features such as error masking, health checks, and persisted operations are built in or available through the plugin model.

Teams start a schema and Yoga instance on their chosen platform adapter, including Express, Fastify, Koa, NestJS, Next.js, and SvelteKit integrations. It can be self-hosted and is fully open source without vendor lock-in.

Key features

  • WHATWG Fetch API core
  • Built-in GraphiQL
  • Subscriptions via Server-Sent Events
  • GraphQL multipart file uploads
  • Automatic persisted queries
  • Apollo Federation support
  • Envelop plugin ecosystem
  • Validation and parse caching

Use cases

  • GraphQL API on serverless workers
  • Federated supergraph or subgraph hosting
  • Single-server GraphQL with plugins
  • Multi-runtime JavaScript GraphQL deployment
  • GraphQL with SSE subscriptions

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT