Deploying Hive Gateway to Cloudflare Workers
Hive Gateway a provides you a cross-platform GraphQL Server. So you can easily integrate it into any platform besides Node.js.
Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.
💡
Before you start, make sure you read the Serverless / On the Edge page.
import { createGatewayRuntime } from '@graphql-hive/gateway'
const gatewayRuntime = createGatewayRuntime({
// gatewayConfig
})
export default { fetch: gatewayRuntime }
💡
If you want to use Cloudflare KV Cache as a distributed cache, see here for Hive Gateway integration