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
(opens in a new tab). 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 (opens in a new tab).
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 (opens in a new tab) |
GraphQL-Helix | ✅ | graphql-helix (opens in a new tab) |
Node.js HTTP | ✅ | basic-http (opens in a new tab) |
GraphQL-Helix (with @defer and @stream ) | ✅ | graphql-helix (opens in a new tab) |
Apollo-Server | Partial (opens in a new tab) | apollo-server (opens in a new tab) |
GraphQL-HTTP | ✅ | graphql-http (opens in a new tab) |
GraphQL-WS | ✅ | graphql-ws (opens in a new tab) |
GraphQL-SSE | ✅ | graphql-sse (opens in a new tab) |
Azure Functions | ✅ | azure-functions (opens in a new tab) |
Cloudflare Workers | ✅ | cloudflare-workers (opens in a new tab) |
Google Cloud Functions | ✅ | google-cloud-functions (opens in a new tab) |
Lambda AWS | ✅ | lambda-aws (opens in a new tab) |
type-graphql | ✅ | type-graphql (opens in a new tab) |
nexus | ✅ | nexus (opens in a new tab) |
express-graphql | ✅ | express-graphql (opens in a new tab) |