What is graphql-yoga?
Who uses graphql-yoga?
Why developers like graphql-yoga?
Here are some stack decisions, common use cases and reviews by companies and developers who chose graphql-yoga in their tech stack.
I just finished a web app meant for a business that offers training programs for certain professional courses. I chose this stack to test out my skills in graphql and react. I used Node.js , GraphQL , MySQL for the #Backend utilizing Prisma as a database interface for MySQL to provide CRUD APIs and graphql-yoga as a server. For the #frontend I chose React, styled-components for styling, Next.js for routing and SSR and Apollo for data management. I really liked the outcome and I will definitely use this stack in future projects.
In my last side project, I built a web posting application that has similar features as Facebook and hosted on Heroku. The user can register an account, create posts, upload images and share with others. I took an advantage of graphql-subscriptions to handle realtime notifications in the comments section. Currently, I'm at the last stage of styling and building layouts.
For the #Backend I used graphql-yoga, Prisma, GraphQL with PostgreSQL database. For the #FrontEnd: React, styled-components with Apollo. The app is hosted on Heroku.
- GraphQL spec-compliant
- File upload
- GraphQL Subscriptions
- TypeScript typings
- GraphQL Playground
- Extensible via Express middlewares
- Schema directives
- Apollo Tracing
- Accepts both application/json and application/graphql content-types
- Runs everywhere: Can be deployed via now, up, AWS Lambda, Heroku etc.
- Supports middleware out of the box.