Search

Search Kavel...

Documentation menu

Cloudflare Workers + D1

The platform Kavel deploys to: Workers for serverless compute at the edge, and D1 for a SQLite database right beside it.

Why it's here

We picked Cloudflare for global low latency, a generous free tier, and a single deploy target for both the API and the web app. Committing to one platform keeps the code direct and cold starts near zero.

What to know

  • Each app has a wrangler.jsonc that declares its bindings, vars, and the D1 database.
  • D1 is SQLite. You reach it through Drizzle, never raw SQL by hand, and apply changes as generated migrations.
  • You deploy with Wrangler. See Deployment for the full walkthrough.

Full documentation lives at developers.cloudflare.com.