GraphQL Yoga

GraphQL Yoga

Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience

11 followers

The main goal of Yoga v2 is to allow you to leverage all the GraphQL ecosystem by being compatible with most of the existing schema-design, HTTP server libraries, and deployment environments.
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
GraphQL Yoga gallery image
Free
Launch tags:APIβ€’Developer Toolsβ€’GitHub
Launch Team
NMI Payments
NMI Payments
Don’t Integrate Payments Until You Read This Guide
Promoted

What do you think? …

Jamie Barton
Hey πŸ‘‹ I thought it was worth hunting GraphQL Yoga 2 in the Developer Tools category. It's been part of my GraphQL server stack for a few months now (even during alpha/beta). The Guild have done an amazing job at rebuilding Yoga from the ground up, introducing a bunch of new features, and making it one of the fastest ways to build your own GraphQL server. What I love about GraphQL Yoga: * Yoga follows the HTTP specification, and tightly couples with the Request/Response objects that make it work on any platform. * Yoga also makes it easy to extend with Envelop. Add authentication, caching, error reports, rate limiting, and more with dozens of Envelop plugins. * GraphQL Subscriptions are built-in using Server Sent Events. Instead of the traditional websocket based subscriptions, Yoga works out of the box with SSE for super cool subscription workflow. * Yoga also makes it easy to work with File Uploads without any additional packages. * Supports Apollo Federation, and their supergraph, if that's your thing. Finally there's also a bunch of examples over on GitHub that the team have made. It shows how Yoga works with all of the popular deployment platforms, frontend and backend frameworks, as well as all of the features Yoga has built-in. Over to @urigoldshtein @n1rual @whereischarly @dotansimha1 @ardatanrikulu @kamilkisiela @singh_saihaj @jycouet and team to answer any questions πŸ™πŸ»
Oren Mizrahi
@urigoldshtein @n1rual @whereischarly @dotansimha1 @ardatanrikulu @kamilkisiela @singh_saihaj @jycouet @notrab been asking this for a while, how can you achieve federation ( like apollo's orchestration ) with guild packages ? having microservices as subgraphs - each handles its own domain but still can build up complicated payloads from different services.
Urigo
@n1rual @whereischarly @dotansimha1 @ardatanrikulu @kamilkisiela @singh_saihaj @jycouet @notrab @oren_mizrahi Great question! You have a couple of options: 1. Use Apollo Federation itself: Yoga supports running Apollo Subgraph and the Supergraph/Gateway. That means you are tapping into the Apollo Ecosystem while still enjoying the Envelop Plugin Ecosystem at the same time! Here are the docs for that: https://www.graphql-yoga.com/doc... 2. You can use GraphQL Tools' Schema Stitching: Schema Stitching fully supports the Federation standard and you can merge services using Federation's directives, Stitching configurations or both of them together. It is the most flexible solution: https://www.graphql-tools.com/do... 3. Use GraphQL Mesh: GraphQL Mesh adds another layer on top of these solution where it can not only federate GraphQL services, but it can take any other API service (REST/OpenAPI/Swagger/gRPC/SOAP and others), convert them into a GraphQL representation and federate them as well! (and uses Yoga under the hood...) Check out our new introductory docs: https://www.graphql-mesh.com/doc.... Another cool thing with Mesh and Stitching is that you can do all of the above but instead of running the merged services as a gateway, you can also run it as an SDK on the client and sub-services. So you can basically create a decentralised Federation!
Danny Choudhury
We use GraphQL Yoga underneath RedwoodJS, and its beautifully simple to use - while giving us all the power we (and our users need) by making it easy to extend with envelop plugins. But.... most of all, the team behind Yoga are truly the secret sauce - The Guild are knowledgable, talented, friendly and very aware of what's happening in the JS-GraphQL ecosystem - with a keen eye for solving problems we face day to day and such prolific contributors to the open source world.
Urigo
@dannychoudhury Thank you for your kind words :) the truth is it is a pleasure to work with you and we've learned so much from the RedwoodJS team and community!
Tobbe Lundberg
Great product and great team!
Urigo
We are really excited to re-launch Yoga! It saved us a lot of time already with our projects and clients (it also now powers GraphQL Mesh under the hood) and we got so much enjoyment and positive feedback on it. The important thing, like the rest of The Guild's libraries - even though it is already the best GraphQL Server out there, it is just the start. We maintain all of our libraries continuously for years and years, keeping the projects alive, safe to use, modern and evolved. That means we want your questions and feedback, so please feel free to reach out here and directly!
Basharath
It's a great product. Congrats on the launch.
Jean-Yves COUΓ‹T
@basharath, I bet it will be embedded in your next cool product πŸ₯³ Let us know what's your favorite part
Joe Ng'ethe
Thank you folks for your continued work around the GraphQL eco-system. I just helped a client migrate from apollo-server to graphql-yoga and the it has not only improved performance, but also the DX of their team! It has made it easy for them to implement "hard" things. With the wide array of envelope plugins and preset configs that it ships with, developers can now implement graphql API's correctly and in a performant way. I highly recommend anyone to give it a try, don't just take my word for it.
Urigo
@joey_ngethe Wow that's awesome to hear, thank you for sharing!
Antoine Cormouls
As an open-source contributor, we want the best for the community! Parse Platform (https://parseplatform.org/), server component switched from apollo to Yoga 2.0. Final results: - GraphQL API layer is 30% faster - Dependency reduction (apollo is quite heavy now) - No need to additionally install "graphql-upload" - The Guild team was really reactive to releasing minor details to help me to finish the Parse Server Yoga 2.0 PR. A great product, with a great team πŸš€
Urigo
@moumouls Thank you so much! Can't wait for all the next awesome things we could do in collaboration with the Parse community!
123
Next
Last