Deploying Mesh to Azure Functions
💡
This page is currently under construction and expected to change. Please feel free to reach out to us directly in case you are having any troubles.
Azure Functions is a serverless environment that supports JavaScript. Mesh is platform agnostic and can be deployed to Azure Functions as well.
💡
Before you start, make sure you read the Serverless / On the Edge page.
import { app } from '@azure/functions'
import { createServeRuntime } from '@graphql-mesh/serve-runtime'
const handler = createServeRuntime(/* Your configuration */)
app.http('graphql', {
method: ['GET', 'POST'],
handler
})