Side Projects
A driver time tracker I actually use
I built a tiny clock-in / clock-out app for my driver, replacing a paper log. It computes overtime, weekly totals, and a payroll-ready export — all in about 600 lines of code.
EEberhard1 min read
The problem
My driver works variable hours — weekday baseline, weekend rates, the occasional holiday at premium pay. Tracking that on paper meant a lot of small math errors at month-end.
![]()
What I built
A single-page app with two buttons: Clock in and Clock out. Behind it, a Postgres table of shifts and a settings row with the wage rules. The page shows:
- This week totals (baseline hours, OT hours, total)
- A full month table you can scroll
- An export button that drops a CSV ready for me to hand him
![]()
The stack
Next.js, Postgres, Docker Compose. Hosted on the same Pi as this blog, on a different subdomain via the same Cloudflare Tunnel.
![]()
It is small. It is mine. It works.
Filed under
next.jspostgressmall-tools