skip to content

edge graphQL with cloudflare workers

  • Cloudflare Workers
  • GraphQL
  • Apollo Server
edge graphQL with cloudflare workers cover image


All of this project’s code can be found in the First Look monorepo on my GitHub.


Generate Project

wrangler generate my-graphql-server

Set Account ID in Wrangler Configuration

name = "workers-graphql-server"
type = "webpack"
zone_id = ""
account_id = ""
route = ""
workers_dev = true
webpack_config = "webpack.config.js"

Deploy to Cloudflare

cd my-graphql-server
wrangler publish
✨  Built successfully, built project size is 560 KiB.
✨  Successfully published your script to

01 - pokemon-graphql