Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GraphQL
  3. graphql-yoga

graphql-yoga

MITTypeScriptrelease-1782317638369

A fully-featured GraphQL server with easy setup, performance, and great developer experience, built on the WHATWG Fetch API.

Visit WebsiteGitHubGitHub
8.5k stars593 forks0 contributors

What is graphql-yoga?

GraphQL Yoga is a modern, fully-featured GraphQL server implementation that focuses on easy setup, performance, and excellent developer experience. It provides a complete solution for building GraphQL APIs with built-in support for subscriptions, file uploads, and real-time capabilities while maintaining compatibility with any JavaScript environment through the WHATWG Fetch API.

Target Audience

JavaScript/TypeScript developers building GraphQL APIs who want a production-ready server with minimal configuration and maximum flexibility.

Value Proposition

Developers choose GraphQL Yoga for its combination of simplicity and power—it offers sensible defaults for quick setup while providing advanced features through a modular plugin system, all built on modern web standards.

Overview

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

Use Cases

Best For

  • Building GraphQL APIs with minimal boilerplate and configuration
  • Implementing real-time features with GraphQL subscriptions
  • Creating file upload functionality in GraphQL APIs
  • Developing serverless GraphQL endpoints for cloud platforms
  • Building type-safe GraphQL servers with TypeScript
  • Migrating from other GraphQL servers to a more modern implementation

Not Ideal For

  • Teams deeply invested in Apollo Server's ecosystem and needing pre-built integrations for specific databases or services
  • Projects requiring server-side rendering or deployment in non-JavaScript environments without Fetch API support
  • Enterprises with legacy systems that rely on older GraphQL server implementations and prefer mature, battle-tested solutions with extensive community resources

Pros & Cons

Pros

Easy Setup

Get a GraphQL server running in minutes with sensible defaults and minimal configuration, as highlighted in the README's 'Easy Setup' feature.

Performance Optimized

Built with performance in mind, supporting automatic persisted queries and response caching for efficient API handling, per the README.

Fetch API Compatibility

Core implementation uses the WHATWG Fetch API, enabling deployment in any JavaScript environment, including serverless and edge platforms, as noted in the features.

Plugin System

Offers an extensible architecture with a powerful plugin ecosystem for customization, allowing advanced features without bloating the core.

Built-in Real-time

Native support for GraphQL subscriptions over WebSockets and Server-Sent Events, plus file uploads via the GraphQL multipart specification, making real-time capabilities straightforward.

Cons

Limited Ecosystem

As a newer project compared to Apollo Server, GraphQL Yoga has a smaller community and fewer third-party plugins, which might require custom development for niche integrations.

Fetch API Dependency

While enabling broad compatibility, reliance on the Fetch API may necessitate polyfills for older Node.js versions or limit use in environments without modern JavaScript support.

Plugin Complexity

The powerful plugin system, though flexible, can introduce a steeper learning curve for simple use cases where minimal abstraction is preferred, potentially overwhelming beginners.

Frequently Asked Questions

Quick Stats

Stars8,529
Forks593
Contributors0
Open Issues105
Last commit2 days ago
CreatedSince 2017

Tags

#w3c#plugin-system#graphql#deno#nodejs#typescript#api-development#fetch-api#developer-experience#file-uploads#bun#javascript#fetch#graphql-server#subscriptions#real-time#whatwg#performance

Built With

G
GraphQL
T
TypeScript

Links & Resources

Website

Included in

GraphQL15.0k
Auto-fetched 5 hours ago

Related Projects

apollo-serverapollo-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.

Stars13,942
Forks2,008
Last commit12 hours ago
join-monsterjoin-monster

A GraphQL to SQL query execution layer for query planning and batch data fetching.

Stars2,702
Forks228
Last commit11 months ago
mercuriusmercurius

Implement GraphQL servers and gateways with Fastify

Stars2,484
Forks253
Last commit10 days ago
graphql-sequelizegraphql-sequelize

GraphQL & Relay for MySQL & Postgres via Sequelize

Stars1,885
Forks159
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub