Workers GraphQL Server v2

Showing off some updates to my workers-graphql-server project.

#cloudflare#webdev

I’ve been working on updating the workers-graphql-server project.

Five years ago, it was one of the first things I built after joining Cloudflare. Since then, the way that we write Workers has changed a lot.

The new v2 release is a complete rewrite. Some big changes:

  1. Supports Wrangler v2 (better local dev, deployment, bindings, etc.)
  2. Written as a module Worker (modern syntax for writing Workers)
  3. Built on top of Hono
  4. Examples for integrating external data sources, and service bindings
  5. Updated implementation of the Workers KV cache

I made a video showing how the new version works. Check it out!