Tutorial
Build the todo app from an empty directory, file by file.
Being written. For now, follow docs/TUTORIAL.md in the repo โ same content, pre-web-rewrite.
What this page will cover
Scaffolding, the first route, migrations, forms with HTMX, and pushing to a server.
The shape of a step
Each step shows the file you create and the behavior you get:
pg-web init my-app --template blank
cd my-app && pg-web dev
| Section | You build |
|---|---|
| Routes | A page that lists todos |
| Forms | Create / toggle / delete over HTMX |
| Deploy | The same app on a VPS |