graphql-yoga
express-graphql
DISCONTINUED
Our great sponsors
graphql-yoga | express-graphql | |
---|---|---|
23 | 14 | |
7,970 | 6,386 | |
0.5% | - | |
9.3 | 6.1 | |
7 days ago | about 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-yoga
-
Announcing GraphQL Yoga v3
We have migration guide try it out! We can't wait answer your questions and get your feedback on how we can make GraphQL Yoga even more better!
-
We built a database UI for Postgres with an instant GraphQL API
It's easy to do with a Serverless Function and with GraphQL Yoga.
-
How to Build a Type-safe GraphQL API using Pothos and Kysely
In today's article we are going to create a GraphQL api using the Koa framework together with the GraphQL Yoga library and Pothos. In addition, we will use Kysely, which is a query builder entirely written in TypeScript.
-
End-to-end GraphQL error handling?
I want to share my approach to handling errors in GraphQL resolvers (I use GraphQL Yoga on the server-side) and pass them to the frontend side (where I use Svelte + @urql/svelte).
-
how it subscription work on the apollo server?
Last, in case you just want a simple GraphQL server where you don’t have to setup anything and subscriptions work out of the box (using SSE), you might wanna check out GraphQL Yoga v2 (Disclaimer: I am maintaining this library).
-
RedwoodJS Reaches 1.0 Today
Not that I know of. But here are a few things that may be of interest.
Redwood's GraphQL API is built on Yoga (we collaborate tightly with The Guild) — https://www.graphql-yoga.com You just need a GraphQL Client, which The Guild already has an option ready for you https://apollo-angular.com (Note: Apollo or other clients fine as well.)
Here's an example "How To" about connecting Next (React) with Redwood: https://community.redwoodjs.com/t/how-to-connect-a-next-js-f...
I'm a co-founder of Redwood and help lead the project so I can say as a matter of fact we a highly collaborative and enjoy (and support) exploratory projects. It's a priority for us to better demonstrate the power of Redwood's API through examples. If you'd be interested in digging in collaboratively with the community, I can help connect the dots. Just kick things off over here and tag me @thedavidprice: https://community.redwoodjs.com
No pressure at all! Just wanted you to know the invitation is open. Anytime.
-
Announcing GraphQL Yoga 2.0!
We always appreciate contributions to our documentation! However, in such a case we would want a full end2end scenario, as we don't wanna recommend a setup that is not verified to work (see https://github.com/dotansimha/graphql-yoga/tree/master/e2e). If you want to champion this, let's move the discussion over to GitHub!
You can still use graphql-ws alongside graphql-yoga! We did not add recipes yet (it is in our backlog https://github.com/dotansimha/graphql-yoga/issues/932). I am curious what are your reasons for doing GraphQL over WebSocket instead of SSE?
We can't wait to get your questions, user feedback, and feature requests/PRs, and we already plan for new features such as an Enhanced Plugin System that will provide features similar to Envelop but at the request level.
-
GraphQL error handling to the max with Typescript, codegen and fp-ts
If you use Envelop or GraphQL Yoga (both developed by The Guild), you can already benefit from it today by using this Envelop plugin) :::
express-graphql
-
How to define schema once and have server code and client code typed? [Typescript]
It looked a little janky but it actually worked fine. But then I needed file uploads. Something graphql-zeus does not support. So I had to create a small wrapper for the SDK created so that it worked. And then also express-graphql, the server I was using, was deprecated.
-
Apollo Server v4 Breaking Changes. Time to move away?
This seems like a minor deal unless you're not using Express as your web framework. And an important note here is that Express GraphQL is being deprecated by the GraphQL Foundation. So if you're using Express for a GraphQL API, you should move away from it anyway.
-
What's your experience with Go and GraphQL? Learning Go coming from Node
With Node I used express-graphql as opposed to something like Apollo because it's lighter and less heavy on resources compared to Apollo.
-
a first look at graphQL helix
Daniel Rearden listed the following reasons pushing him to create Helix, believing that these factors were absent from popular solutions like Apollo Server, express-graphql and Mercurius:
-
how to deploy a graphQL server with docker and fly
Express GraphQL is a library for building production ready GraphQL HTTP middleware. Despite the emphasis on Express in the repo name, you can create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware. This includes Connect itself, Express and Restify.
-
GraphQL - Diving Deep
If you are using Node.js there are a lot of implementations of GraphQL servers with a few being express-graphql, apollo-server, mercurius, graphql-helix and more. And if you are using other languages, you can see a great list here
-
What is the best way to set up a GraphQL server?
express-graphql GitHub Repository
-
Which ORM, GraphQL Server and GraphQL Client I should use?
A few options for the HTTP server are: - Apollo Server - express-graphql - mercurius
-
GraphQL the Simple Way, or: Don't Use Apollo
That leaves the final step, which is easily handled with express-graphql: a simple Express middleware, with just 4 dependencies that handle content negotiation & body parsing. That works for Express or Connect, and there's similar tiny packages available for most other servers.
What are some alternatives?
apollo-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.
graphql-helix - A highly evolved GraphQL HTTP Server 🧬
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
mercurius-typescript - TypeScript usage examples and "mercurius-codegen" for Mercurius
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
Next.js - The React Framework
blog-graphql-nestjs-fileupload - example code on how to upload a file with multipart requests to GraphQL in nestjs
apollo-studio-community - 🎡 GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions