Skip to content
GraphQL running on Cloudflare Workers
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
.gitignore
LICENSE
README.md
package.json
webpack.config.js
yarn.lock

README.md

Cloudflare GraphQL Gateway

Workers GraphQL Gateway Example

Building a GraphQL Gateway allows you to make a single query, have GraphQL and take care of breaking it down to multiple rest calls. This example makes use of dataloader to batch and cache the queries so a query with the same key will not be requested twice.

Dependencies

Instructions

  • npm install
  • npm run build

To open the Workers preview with the built Worker:

  • npm run preview

About

Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.

GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

You can’t perform that action at this time.