
In short
Shyft is my own product and the biggest thing I've built: 592 commits since August 2025. Workers log shifts and see what they will actually take home. Managers plan a rota, approve shifts and export payroll. One React codebase runs the website and the iOS app, on a Supabase backend with 139 migrations. The iOS app is built and waiting on Apple.
Source: git log, Shift-Tracker; client/docs/platform-branching.md; client/supabase/migrations; client/docs/app-store-submission.md
Payday, without the guessing
I designed Shyft for UK hourly and shift workers, mostly on phones. The promise on its front page is the whole product: log your shifts, and see your pay after UK tax and National Insurance before payday, not after.
There is a second audience too: managers running small teams, who need a rota, shift approvals and a payroll export.
Source: client/src/components/landing/DESIGN.md; client/public/og-image.png; client/docs/teams/README.md
From clock-in to payroll export
Shift logging and clock-in, with an iOS Live Activity while a shift is running.
Source: client/src/components/shift/ClockInButton.tsx; client/src/hooks/clock/useShiftLiveActivity.ts
Take-home pay after PAYE, National Insurance, student loan (plans 1, 2, 4 and 5, plus postgraduate) and pension, with Scottish bands and K, BR and D tax codes.
Source: client/docs/payroll-engine.md; client/src/lib/taxCalculator.ts
Weekly, fortnightly and monthly pay periods, overtime rules and a payday countdown.
Source: client/src/lib/payPeriods.ts; client/src/lib/paydayCountdown.ts
Teams: a rota planner that warns about overlaps, short rest and long weeks (it warns, it never blocks), shift approvals, and payroll export to Excel and PDF.
Source: client/src/lib/rotaConflicts.ts:1-24; client/src/lib/enhancedExcel.ts; client/src/lib/export/
Billing with Stripe on the web and in-app purchase through RevenueCat on iOS.
Source: client/docs/platform-branching.md
A Supabase backend: Postgres with row-level security, 139 migrations and 15 edge functions.
Source: client/supabase/migrations; client/supabase/functions (excluding _retired and _shared)

The hard parts
Three problems took the most care. Only one of them is tax.
One codebase, two platforms
Shyft is one Vite and React codebase. Vercel serves it as a website, and Capacitor wraps the same code as a native iOS app. Every feature has to work in both.
The rule I wrote down is: share the logic, branch the screen. The hooks and stores are written once. Only the rendering differs: a dialog on the web is a bottom sheet on iOS, and settings are a pushed stack instead of a modal. Billing branches too: Stripe checkout on the web, in-app purchase through RevenueCat on iOS.
Some things don't cross over. Passkeys work on the website but are switched off in the iOS app, because the app's origin is capacitor://shyft.live, not https://shyft.live.
Source: client/docs/platform-branching.md; client/docs/passkeys.md
Pay, right to the penny
HMRC publishes the rules payroll software must follow, down to where you round. I wrote Shyft's engine to that spec, with every amount held as a whole number of pence. Money in floating point drifts, and a payslip that is a penny out is simply wrong.
A single shift has no statutory pay period. So the per-shift figures come from a separate allocator that spreads a period's deductions across its shifts at an effective rate.
Source: client/src/lib/taxCalculator.ts:235, :547, :666; client/docs/payroll-engine.md
Night shifts across the clock change
A 22:00 to 06:00 shift is 8 hours, except on two nights a year. When the clocks go forward it is 7. When they go back it is 9.
Subtract the start from the end and you get 8 every time. Trust the phone's time zone and a worker abroad gets a different answer again. Shyft counts every shift as elapsed time on the UK wall clock (Europe/London), in one function that the shift maths, the rota and the clash checks all call.
Source: client/docs/payroll-engine.md, section Time; client/src/lib/shiftCalculations.ts

The evidence is the code and its tests
I have no crowd of users to quote, so the evidence is the code and its tests.
592
commits, built alone
From 7 August 2025 to 11 October 2026.
Source: git log, Shift-Tracker
254
test files
Test files under client/src, run with Vitest.
Source: find client/src -name "*.test.ts*"
1,000 of 1,000
HMRC Table A entries
HMRC publishes 1,000 Week 1 and Month 1 entries for Table A. A test checks every one of them against the engine.
Source: client/src/lib/__tests__/hmrcTableA.test.ts
100%
coverage gate
The coverage run fails if a single line goes untested in the pure modules on its list: the calculation code with no screens or network attached.
Source: client/vitest.config.ts:59-81
A seeded run of 2,000 generated payslips must each come out in whole pence, with nothing negative and take-home never above gross pay.
Source: client/docs/payroll-engine.md
From 6 April 2027 a test fails until I have checked the new tax year's rates and updated the constants.
Source: client/src/lib/taxCalculator.ts:104