Till & back office · for a café and tea room
A till that knows what goes off first.
Before this, the café ran on a till, a stock spreadsheet, a rota pinned to the wall, a tub of date dots and a notebook for the cash. Now it's one system. A PC in the back room runs the server, and the tablets in the shop connect to it over the local network, so it keeps trading when the broadband drops. There's no subscription and no fee per tablet.
- Lines of code
- 17,220
- Dependencies
- 0
- End-to-end tests, each a full trading day
- 22
- API routes, each with its own permissions
- 118



- Stock by the batch. Every sale comes out of the batch with the earliest use-by date (first expired, first out), and anything past its date can't be sold. The buttons badge themselves with “Sell first”, “3 left” and “Sold out”.
- Manager sign-off without logging out. The manager enters their PIN on the same tablet. It authorises that one action only, and both names go in the log.
- Receipts, kitchen tickets and date labels on any thermal printer. If the printer jams, the sale still goes through.
- A rota that spots clashes. Staff clock in with a PIN, and their hours get checked against the rota.
- Backups you can restore from, with a second copy kept somewhere else. If the till ever crashes, it restarts itself.




















