Quickback Docs
Quickback for Hono API

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.

Quickback for Hono API is the default compile target. Your defineTable() and defineActions() files become a complete Hono application: routes, middleware, types, OpenAPI spec, and an MCP server, all generated and ready to deploy.

What you ship

src/
├── routes/        # One file per resource — GET/POST/PATCH/DELETE + batch
├── middleware/    # Auth, firewall, access, guards, masking
├── types/         # TypeScript interfaces inferred from your schema
├── openapi.json   # Generated spec, served at /openapi.json
└── index.ts       # Hono app entry point

The generated app runs on Cloudflare Workers (recommended) or any Hono-compatible runtime. Pair it with Cloudflare D1 for SQLite-at-the-edge or Neon for full PostgreSQL with database-level RLS.

Pick your database

DatabaseBest forNotes
Cloudflare D1Most projectsSQLite at the edge. Application-level security. Free tier covers a lot.
NeonPostgreSQL features neededFull Postgres with database-level RLS via Neon Authorize.

Pick your runtime

RuntimeNotes
Cloudflare WorkersDefault. Edge-native, integrates with the rest of Quickback Stack.
Bun / NodeSupported via the same Hono output. Less first-class for Stack services.

In this section

  • Cloudflare — Compile and deploy to Workers
  • Neon — Compile to PostgreSQL with RLS
  • Database — D1, Neon, schema and migrations
  • Using the API — CRUD, batch operations, query params, OpenAPI, errors

On this page