01Frontend engineer2026 — present
Enterprise HR management system
An internal HR platform, used by staff every working day. No product screenshots, no numbers — the reasoning is the point.
- Stack
- Next.js · TypeScript · PostgreSQL · REST
00The problem
The company had outgrown spreadsheets. Employee records, leave, approvals and payroll lived in several places, and reconciling them was a recurring manual job performed by whoever had the most context.
The brief was not 'build an HR system'. It was 'make the boring part of someone's week stop needing a person'. That distinction set every decision that followed.
01What I owned
The interface. Every screen a member of staff touches — the request forms, the approval queues, the leave calendar, and the views that management read at the end of a cycle.
- The request and approval flows, end to end.
- The read views that had to be right without anyone checking them.
- The states nobody demos: empty, loading, rejected, expired, and half-finished.
I worked against a backend owned by other people, which meant I spent a lot of time on the contract between the two halves: what a response contains, what happens when it doesn't arrive, and what the interface is allowed to assume.
02The hard part
Leave. Not the form — the form is easy. The hard part is that entitlement depends on things the request itself doesn't carry: how long someone has been employed, which policy applies to them, whether they've already taken leave against it, and whether anyone has approved an exception.
The naive implementation computes all of that at the moment of display, which means the number a person sees can change after they've acted on it. The balance was correct one request ago.
This is the class of bug that never appears in a demo.
03What I changed
I stopped treating balance as a live computation and treated it as a fact with a history. Entitlement became something recorded when it changed, not something derived every time a page loaded.
On the interface side that meant the forms stopped guessing. A request shows what it needs, asks for it once, and submits the answer along with the request — so the backend receives a complete picture instead of a request and a set of implicit assumptions.
The other change was smaller and mattered more: I moved the app's confidence out of the interface and into the data. If the interface can't know, it asks. If the backend can't answer, the screen says so plainly instead of showing a stale number.
04What it did
The daily work became the platform's job instead of someone's. Requests stopped going through a spreadsheet, and the reconciliation that used to happen by hand stopped happening at all.
I won't publish numbers here. What I will say is that the screens I built became the ones people opened without being asked to, which is the only adoption metric I'd trust anyway.
05What I'd do differently
I would have made the audit trail a first-class part of the data model from the first week. I added it later, and adding it later meant reconstructing history that the early records didn't capture properly.
I would also have written the failure states down before the happy path. Every screen we got wrong was a screen where something had already gone wrong — a request that timed out, a balance that couldn't be computed, a document that wouldn't load. I'd document those first next time.