Zerct full-stack apps use two deployable projects:Documentation Index
Fetch the complete documentation index at: https://docs.zerct.com/llms.txt
Use this file to discover all available pages before exploring further.
- Rust backend: APIs, auth callbacks, writes, server-side rules, managed Postgres.
- Static frontend: TanStack, Vite, or another TypeScript app built to files.
One Command
Put azerct.toml in each app directory:
CORS
When frontend and backend use different hostnames, the Rust backend must allow the frontend origin. The starter Rust API handlesOPTIONS and sends CORS
headers.
For production, prefer setting an explicit frontend origin in an environment
variable. The starter reads FRONTEND_ORIGIN.