Layers
- UI layer: generated views you can extend.
- API layer: typed endpoints and helpers.
- Data layer: generated DB schema and queries.
Data Flow
Prompt → Project meta → Chat generation → Preview → Deploy
Deployment Model
Dev branch for iteration with preview URLs; merge to main for production.
- Dev domain:
project‑dev.yourdomain.com - Prod domain:
project.yourdomain.com - Safe sync: rebase/merge attempts; skip on conflicts; manual fix then retry.
Security & Privacy
- Least privilege: only necessary scopes/tokens.
- Observability: critical actions are auditable.
- Isolation: dev/prod separation, one‑way promotion.
Cost Model
- Preview‑first workflow minimizes waste by catching issues before prod.
- Per‑branch/PR databases enable safe QA without long‑lived data cost.
- Converged stack (auth/payments/analytics/deploy) reduces integration overhead.
Extensibility
- Typed interfaces → safer refactors.
- Modular file structure → reuse and split easily.
- Git‑friendly → reviewable diffs and change control.
See also
Overview · Integrations · API