Runtime and deployment contract
View as MarkdownIdentity
Section titled “Identity”Generated workspace scripts, API boot, Vite output, and Dockerfile.
Contract
Section titled “Contract”pnpm buildbuilds shared, docs when present, API, and frontend packages in project-defined order.- The production API starts from
packages/api/dist/boot.jsand listens onSAPPORTA_API_PORT, falls back to hosting-platformPORT, and defaults to 3000 when neither is set. - API routes live under
/api; the default production process also serves the built SPA and fallback routes. - SQLite storage must live on durable writable storage and be backed up by the deployment platform.
- The generated container command migrates once, then starts the API process.
- Health access follows
SAPPORTA_HEALTH_POLICY; shutdown closes HTTP, mail, and database resources.