Projects
Project 02 / 02

Daybook

Replaced the paper daybook at my family's shop.

In progress
ReactTypeScriptTailwindCSSFirebaseFastAPIVitest
Users
6 retail shopsRunning their daily accounts on it
Status
In progressBackend moving from Firebase to FastAPI
Started
March 2024To replace a paper daybook
Tests
85 unit testsOver money, ledgers, pricing and stock
Access
3 rolesOwner, Manager and Counter Staff
Frontend
React + TypeScriptMigrated from JavaScript
Daybook: A tax invoice in Daybook, beside the sales list it came from.
A tax invoice in Daybook, beside the sales list it came from.
01Motivation

A paper daybook, replaced

My family's hardware business kept its accounts in a paper daybook. In March 2024 I started building the software to replace it, and six retail shops now run on it.

02What it does

A shop's daily work, end to end

Sales invoices with PDF generation, purchase bills, customer and supplier ledgers with running balances, payment receipts, and stock tracked at weighted-average cost.

Each business is its own tenant, with access split across Owner, Manager, and Counter Staff, and staff can ask for temporary permission to do something above their role.

Daybook: A sales invoice, generated as a PDF.
A sales invoice, generated as a PDF.
Daybook: A customer ledger with its running balance.
A customer ledger with its running balance.
03Production engineering

What real users taught me

Real users are where I learned production engineering. I migrated the codebase from JavaScript to TypeScript, pulled the money, ledger, pricing, and stock logic into a pure domain layer covered by 85 unit tests, and am now moving the backend from Firebase to a Python FastAPI service.

Daybook: Stock history for one item.
Stock history for one item.
Daybook: Recording a customer's payment.
Recording a customer's payment.
Time in DC17:25
Socials