A fully-featured GraphQL server with easy setup, performance, and great developer experience, built on the WHATWG Fetch API.
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.
JavaScript/TypeScript developers building GraphQL APIs who want a production-ready server with minimal configuration and maximum flexibility.
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.
🧘 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.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Get a GraphQL server running in minutes with sensible defaults and minimal configuration, as highlighted in the README's 'Easy Setup' feature.
Built with performance in mind, supporting automatic persisted queries and response caching for efficient API handling, per the README.
Core implementation uses the WHATWG Fetch API, enabling deployment in any JavaScript environment, including serverless and edge platforms, as noted in the features.
Offers an extensible architecture with a powerful plugin ecosystem for customization, allowing advanced features without bloating the core.
Native support for GraphQL subscriptions over WebSockets and Server-Sent Events, plus file uploads via the GraphQL multipart specification, making real-time capabilities straightforward.
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.
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.
The powerful plugin system, though flexible, can introduce a steeper learning curve for simple use cases where minimal abstraction is preferred, potentially overwhelming beginners.