Quickback Docs

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

ComponentServicePurpose
AuthBetter AuthAuthentication, sessions, organizations
D1 DatabaseCloudflare D1SQLite at the edge for your data
File StorageCloudflare R2S3-compatible object storage
KV StorageWorkers KVKey-value for sessions and cache
RealtimeDurable ObjectsWebSocket connections for live updates
EmbeddingsWorkers AIAuto-generated vector embeddings
QueuesCloudflare QueuesBackground 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

  1. Cloudflare Account — Sign up at cloudflare.com
  2. Wrangler CLInpm install -g wrangler
  3. Quickback CLInpm install -g @kardoe/quickback
  4. Create Projectquickback create cloudflare my-app
  5. Compilequickback compile
  6. Deploywrangler deploy

On this page