Quickback Docs

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

FieldTypeDescription
namestringProject name
template"hono"Application template ("nextjs" is experimental)
providersobjectRuntime, database, and auth provider configuration

Optional Fields

FieldTypeDescription
featuresstring[]Feature flags, e.g. ["organizations"]
compilerobjectCompiler options (audit fields, etc.)
openapiobjectOpenAPI spec generation (generate, publish) — see OpenAPI

See the sub-pages for detailed reference on each section:

  • Providers — Runtime, database, and auth options
  • Variables — Environment variables and flags
  • Output — Generated file structure

On this page