Feature 06 · Study guide
The everyday developer loop: apply schema, load sample data, run the API.
Project must already exist (tpy new + tpy build).
$ tpy migrate $ tpy seed $ tpy serve
database/seeds/ (demo users, roles, sample rows).app.main:app (reload on by default).# terminal 1 $ tpy serve --reload # terminal 2 $ tpy watch
Watch rebuilds layers when schema.tpy changes; serve reloads Python. After structural DB changes, still run tpy migrate.