Configuration
Reference for quickback.config.ts — project name, template, features, providers, and compiler options.
The quickback.config.ts file configures your Quickback project. It defines which providers to use, which features to enable, and how the compiler generates code.
import { defineConfig, defineRuntime, defineDatabase, defineAuth } from "@quickback/compiler";
export default defineConfig({
name: "my-app",
template: "hono",
features: ["organizations"],
providers: {
runtime: defineRuntime("cloudflare"),
database: defineDatabase("cloudflare-d1"),
auth: defineAuth("better-auth"),
},
});Required Fields
| Field | Type | Description |
|---|---|---|
name | string | Project name |
template | "hono" | Application template ("nextjs" is experimental) |
providers | object | Runtime, database, and auth provider configuration |
Optional Fields
| Field | Type | Description |
|---|---|---|
features | string[] | Feature flags, e.g. ["organizations"] |
compiler | object | Compiler options (audit fields, etc.) |
openapi | object | OpenAPI spec generation (generate, publish) — see OpenAPI |
See the sub-pages for detailed reference on each section: