Quickback Stack
Production-ready Cloudflare + Better Auth integration running on your own Cloudflare account. Edge-first backend with D1 database, Workers, and more.
Quickback Stack is the production-ready Cloudflare + Better Auth integration that runs entirely on YOUR Cloudflare account.
What is Quickback Stack?
While the Quickback Compiler transforms your definitions into deployable code, Quickback Stack is the runtime environment where that code runs. It's a complete backend architecture built on Cloudflare's edge platform:
- Your account, your data — Everything runs on your Cloudflare account
- Edge-first — Global distribution with sub-50ms latency worldwide
- Integrated services — D1, R2, KV, Workers, and Durable Objects working together
- Production-ready auth — Better Auth with plugins for every use case
Architecture Overview
┌─────────────────────────────────────────────────────────────┐
│ Cloudflare Edge │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Workers │ │ Durable │ │ KV │ │
│ │ (API) │ │ Objects │ │ (Cache) │ │
│ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │
│ │ │ │ │
│ ┌──────┴──────┐ ┌──────┴──────┐ ┌──────┴──────┐ │
│ │ D1 │ │ Realtime │ │ Sessions │ │
│ │ (SQLite) │ │ (WebSocket)│ │ (Auth) │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │
│ ┌─────────────┐ ┌─────────────────────────────────┐ │
│ │ R2 │ │ Better Auth │ │
│ │ (Storage) │ │ (Email OTP, Passkeys, etc.) │ │
│ └─────────────┘ └─────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘Stack Components
| Component | Service | Purpose |
|---|---|---|
| Auth | Better Auth | Authentication, sessions, organizations |
| D1 Database | Cloudflare D1 | SQLite at the edge for your data |
| File Storage | Cloudflare R2 | S3-compatible object storage |
| KV Storage | Workers KV | Key-value for sessions and cache |
| Realtime | Durable Objects | WebSocket connections for live updates |
| Embeddings | Workers AI | Auto-generated vector embeddings |
| Queues | Cloudflare Queues | Background job processing |
What You Own
Everything in Quickback Stack runs on your Cloudflare account:
- Databases — Your D1 instances, your data
- Storage — Your R2 buckets, your files
- Workers — Your deployments, your logs
- Secrets — Your API keys, stored in your Wrangler secrets
Quickback provides the architecture and code generation. You own the infrastructure.
Quick Start
- Cloudflare Account — Sign up at cloudflare.com
- Wrangler CLI —
npm install -g wrangler - Quickback CLI —
npm install -g @kardoe/quickback - Create Project —
quickback create cloudflare my-app - Compile —
quickback compile - Deploy —
wrangler deploy