Prerequisites
Node.js 18+
Required for wrangler CLI
Cloudflare account
Free tier is sufficient for development
Go 1.26+
Required to run the backend API locally
Python 3.11+
Required for the CLI and security helpers
1. Clone the repository
2. Install Wrangler
3. Authenticate with Cloudflare
account_id needs to be set in wrangler.jsonc; wrangler reads it from the OAuth session.
4. Create the R2 bucket (one-time)
5. Configure the Worker
Editcloudflare/wrangler.jsonc if you want to change the worker name or add custom domains. The default config works out of the box.
6. Deploy the Worker
7. Configure the backend API
Copy the example env file:8. Run the backend locally
http://localhost:8000.
Verification
Next steps
Monitoring
Watch live Worker logs
Troubleshooting
Common deployment issues