Compile Targets
Quickback compiles your definitions to one of two targets — a Hono API on Cloudflare/Neon, or PostgreSQL Row Level Security policies for Supabase.
The Quickback Compiler reads a single set of definitions — schema, firewall, access, guards, masking, views, actions — and emits production output for the target you choose.
The two targets
Quickback for Hono API
Generates a complete Hono application: routes, middleware, types, OpenAPI spec, MCP server. Pair with Cloudflare D1 for SQLite-at-the-edge or Neon for full PostgreSQL with database-level RLS.
providers: {
runtime: defineRuntime('cloudflare'),
database: defineDatabase('cloudflare-d1'),
auth: defineAuth('better-auth'),
}Use this target when you want Quickback to generate the entire API surface, not just security policies.
Quickback for Supabase
Generates PostgreSQL Row Level Security policies for Supabase. Keep Supabase Auth, Storage, and Realtime — Quickback adds the security layer beneath your application code.
providers: {
runtime: defineRuntime('supabase'),
database: defineDatabase('supabase'),
auth: defineAuth('supabase-auth'),
}Use this target when you're already on Supabase and want a typed DSL for RLS.
At a glance
| Hono API | Supabase RLS | |
|---|---|---|
| What's generated | Routes, middleware, types, OpenAPI, MCP, RLS (Neon only) | RLS policies + helper functions only |
| Database | Cloudflare D1 or Neon Postgres | Supabase Postgres |
| Auth | Better Auth | Supabase Auth |
| Application code | Compiler-generated | You write your own |
| Deployment | wrangler deploy (or any Hono runtime) | supabase db push |
The shared core
Whichever target you pick, the input is the same. See Definitions for the DSL that powers both.
AI Agent Readiness
Every Quickback Worker ships agent-discovery files and an auto-generated MCP server. Let Claude, ChatGPT, Cursor, and Perplexity find and call your API out of the box.
Quickback for Hono API
Compile your TypeScript definitions into a production-ready Hono API on Cloudflare D1 or Neon — with security, validation, and OpenAPI built in.