run graphQL on the edge with workers-graphql-server
cloudflaregraphqlworkersapollo
Generate project #
wrangler generate my-graphql-server https://github.com/signalnerve/workers-graphql-server
Set your account_id in wrangler.toml #
name = "workers-graphql-server"
type = "webpack"
zone_id = ""
account_id = ""
route = ""
workers_dev = true
webpack_config = "webpack.config.js"
Publish to Cloudflare’s network #
cd my-graphql-server
wrangler publish
✨ Built successfully, built project size is 560 KiB.
✨ Successfully published your script to
https://workers-graphql-server.anthonycampolo.workers.dev
