Integrations and Examples
Envelop provides a low-level API for integrating it with your server of choice, but a rich API for building plugins. It is possible to integrate Envelop with any HTTP server framework and almost any GraphQL Server Framework.
Our personal recommendation is using graphql-yoga
. It is a
fully-functional GraphQL server that has the envelop engine built-in! You can find a minimal
example of using envelop with yoga here.
Compatibility Table
Here’s a list of integrations and examples. This list here includes integrations with different GraphQL servers, different HTTP servers and different GraphQL schema builders. In case you are missing your favorite server, feel free to add it!
Since Envelop is not an HTTP server, and just a wrapper around the GraphQL request pipeline - it’s possible to integrate it with almost any server/framework.
Server/Framework | Fully supported? | Example |
---|---|---|
Yoga Server | ✅ | graphql-yoga |
GraphQL-Helix | ✅ | graphql-helix |
Node.js HTTP | ✅ | basic-http |
GraphQL-Helix (with @defer and @stream ) | ✅ | graphql-helix |
Apollo-Server | Partial | apollo-server |
GraphQL-WS | ✅ | graphql-ws |
GraphQL-SSE | ✅ | graphql-sse |
Azure Functions | ✅ | azure-functions |
Cloudflare Workers | ✅ | cloudflare-workers |
Google Cloud Functions | ✅ | google-cloud-functions |
Lambda AWS | ✅ | lambda-aws |
type-graphql | ✅ | type-graphql |
nexus | ✅ | nexus |
express-graphql | ✅ | express-graphql |