GraphQL
The GraphQL Pages Plugin creates a GraphQL server which can respond to application/json
and application/graphql
POST
requests. It responds with the GraphQL Playground for GET
requests.
This Plugin only exposes a single route, so wherever it is mounted is wherever it will be available. In the above example, because it is mounted in functions/graphql.ts
, the server will be available on /graphql
of your Pages project.