Developer reference
Kotivalo is a mobile-first app for Finnish private landlords with 1–10 rental
flats. These pages are generated from the code by pnpm docs:generate, so
they describe the code as it is on develop. Nothing here is written by
hand except this page.
| Page | Generated from |
|---|---|
| Database schema | src/server/db/schema.ts |
| Specs and tests | openspec/specs/, the Vitest and Playwright test lists |
| Log events | the log.* and clientLog.* calls in src/ |
| Routes and server functions | src/routes/, the createServerFn calls |
| Reason codes | src/lib/reasons.ts, messages/*.json |
| Test coverage | pnpm test:coverage |
Where the rest is
Section titled “Where the rest is”The architecture, the rules and the product are written by hand, in the repository:
CLAUDE.md: the stack, the code structure, the conventions and the commandsCONCEPT.md: the product, the domain rules and the data modelopenspec/specs/: the requirements, one spec per capabilityi18n/terms.json: the term bank, the glossary of domain words in Finnish, Swedish and English- The user guide for landlords, in Finnish: ohje.kotivalo.app