PayTrack started as a personal problem. I was working long shifts and had no clean, purpose-built way to track my logged hours, overtime multipliers, and shift allowances across pay periods. Spreadsheets felt clunky on a phone, generic finance apps were overkill, and nothing gave instant clarity after clocking out. So I decided to engineer one myself.
Defining the Problem Space
Before writing a single line of code, I mapped out exactly what a shift worker needs the moment a shift ends. The core requirement was straightforward: given a base hourly rate, regular hours worked, overtime multipliers (1.5x and 2.0x), and shift allowances, compute gross shift earnings accurately and store every shift persistently offline. The moment I started accounting for real-world rosters — unpaid break deductions, night shift differentials, weekend double-time, and switching between multiple employers — the data model became genuinely interesting.
I settled on three primary domain entities: WorkSession, WorkProfile, and EarningsSummary. Each session stores raw start/end timestamps, break duration, overtime multiplier, and shift allowances; the work profile holds the employer's base hourly rate, currency, and pay period schedule; and the summary is a derived, on-demand computation rather than a static value — keeping the database lean and the UI always in sync with the source logs.
Stack Decisions
I focused heavily on tactile responsiveness and offline reliability. Using declarative UI components with a clean repository abstraction over local SQLite/Room persistence meant every shift edit, calendar swipe, or work profile switch happened in milliseconds without waiting on network calls.
State management went through a few iterations. I structured the shift logging and pay period analytics streams around reactive state holders so logging a shift on the home screen immediately updated the visual shift calendar, the overtime breakdown pills, and the monthly goal progress rings.
The Hard Parts
The trickiest engineering challenge was the shift and overtime calculation engine. Different jobs structure overtime and allowances differently — daily overtime thresholds, `1.5x` evening hours, `2.0x` Sunday shifts, and fixed meal or night shift allowances. I abstracted this into a composable ShiftRateCalculator with configurable profile rules, making it effortless to test every multiplier combination in isolation.
"The trickiest part wasn't the overtime math — it was making the math feel effortless and instant to the user."
UI polish consumed just as much care. Adopting a Neo-Fintech Luxury Minimalist Bento layout—with high-contrast Dark Charcoal balance cards, Warm Sand overtime callouts, and Soft Lavender goal rings—ensured that complex shift data remained scannable at a glance.
Shipping It
The Play Store pipeline was its own milestone: generating a signed release bundle, crafting the store listing, designing Bento showcase screenshots, and passing review. Total time from first commit to live listing was just under four weeks, built entirely around a full-time job.
PayTrack isn't a bloated enterprise suite. It's a focused, precision-engineered tool that solves one problem exceptionally well: if you work shifts or hourly contracts and want complete clarity on your hours, overtime, and gross shift earnings, it does exactly that — nothing more, nothing less.