Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add graphql-api-koa to the GraphQL servers list #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaydenseric
Copy link

graphql-api-koa is a GraphQL.js implementation written from scratch for Koa. It is the only such alternative to apollo-server-koa as koa-graphql just wraps express-graphql.

Uniquely, it's separate errorHandler() and execute() middlewares allow Koa "onion" style error handling; middleware errors result in an appropriate GraphQL response with errors.

With a 96.5kb install size and a 3.2kb min+gzip bundle size, it is to my knowledge the lightest Node.js GraphQL server available. For comparison, apollo-server-koa has an 11.8M install size and koa-graphql has a 3.03M install size.

The cherry on top is that it is the only GraphQL server to support native ESM for Node.js in --experimental-modules mode.

I've been using it in production for several APIs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant