All projects

Owed

A self-hosted household time and pay ledger built with Angular, Fastify, and SQLite: server-tracked live timers, worker-submitted missed-time and expense requests, and an append-only signed-cent audit log.

Stack: Angular, TypeScript, Fastify, SQLite, Drizzle ORM, Cloudflare Access

What it is

Owed is a standalone household time and pay ledger hosted behind Cloudflare Access alongside Nash Family Apps (/projects/household-suite). It tracks the signed financial balance between one household and the workers who help it, treating money as the canonical obligation while keeping worked time as an activity statistic.

- Signed-cent append-only ledger: Work events, approved expenses, outside payments, and balance adjustments are stored in integer cents. SQLite triggers block UPDATE and DELETE on ledger rows, so corrections and voids append new attributed records while preserving prior history. - Server-tracked timers with forgotten-timer warnings: Each worker can run one active timer locked to the hourly rate in effect when it started. Rate changes never rewrite past work, and per-worker thresholds flag forgotten timers for resolution. - Role-scoped views and requests: Admins see every worker's balance, log payments, and review missed-time or expense requests (approved exactly as submitted or denied with a reason). Workers see only their own balance, live timer, requests, and activity updates, while archived workers keep read-only access to their history. - Idempotent writes and full verification: Every mutating API endpoint takes an operationId stored with a request hash so retries never double-post, backed by Vitest unit tests and Gherkin acceptance journeys in Playwright across Chromium and WebKit.

What problem it solves

Tracking part-time household help across text messages, notes, and spreadsheets drifts fast. Hours get forgotten, receipts live in chat threads, rate changes accidentally recalculate old rows, and neither side has one clear number showing what is owed right now.

Owed gives everyone one shared source of truth behind Cloudflare Access sign-in. Workers clock in from their phone or submit missed-time and expense requests when something happens off-timer; admins approve in one click, record payments when money changes hands, and keep a complete history of every correction without overwriting the past.

Current status

Running privately behind Cloudflare Access in daily household use as a standalone Angular + Fastify + SQLite service. All names, emails, and figures in the screenshots and demo video use synthetic data.