Introduction to Programming Nova SBE · 2026/27

Feature 2 — Expense categories

Why

As a flatmate, I want each expense tagged with a category, so that at the end of the month I can see how much of our money went on rent, on groceries and on fun, instead of scrolling through thirty lines.

What

Every expense gets a category, chosen from a fixed list when the expense is created. The group page shows a total per category.

Adding a column means touching three places: COLUMNS in db.py, the CSVs in seed/ (add the column and a category to every line), and then uv run python seed.py so that data/ gets the new column too. Do not edit data/ by hand.

Out of scope

Done when