Skip to main content
Docs

4. Workflow: From Project to Website

From an empty project to a live deployed site — five steps:

StepActionWhat happens in the background
1Create ProjectPOST /api/projects → DB-Insert (projects table), Default-Pack minimal
2Create PagePOST /api/projects/:id/pages → DB-Insert (pages table), Auto-detect language
3Write MarkdownCodeMirror editor; Auto-Save via PATCH mdContent (debounced)
4GeneratePOST .../generate → Pipeline (see section 10), HTML in generatedJson
5DeployPOST .../deploy → Static Export → Cloudflare Pages Upload

Each of these actions is visible in the editor as a button or happens automatically (auto-save when typing pauses).#