~/sajjad $ cat projects/staff-app
← cd ../projects
Systems
Staff management iOS app
App Store · v1.4+£800/mo removed
A full workforce management product shipped to the App Store, in daily use by 15+ staff across the group, replacing a paid platform. Packaged as a white-label reseller product with a complete handover pack.
What I built
- Three-tier role model — staff, manager, owner — with a hard five-tab cap per role, and PIN authentication routed through a server-side Edge Function.
- Geofenced clock-in and clock-out, a rota builder with push notifications, holiday accrual and approval workflows, shift swaps requiring manager sign-off.
- Cross-site stock transfers, time-locked daily compliance sheets, timed toilet checks, weekly cleaning checklists.
- Guest check-in with extra-night extension billing, and a cross-venue manager dashboard.
- A PII protection layer separating pay data from general staff records.
Schematics
What it has grown into
- Hotel bookings imported from the property system’s PDF reports, turned into SQL. The rule is that the newest report always wins, so a room swap never loses a booking.
- NFC tags for clock-in, announcements with sender permissions and read receipts, and a read-only live view of table orders for floor staff.
- Drinks stock counts alongside food, feeding the weekly report.
- A push notification fault traced to staff still running test-build tokens that the live notification service rejects. Fixed by moving them to the store build, not by changing code.
The second lockdown
After the first audit, the platform’s own warnings found more: 49 allow-everything policies, an exposed view and public storage buckets.
17 internal functions were closed to the public, and guest ID photos and documents got proper signed-in storage rules. Then the whole app moved off the public key onto authenticated sessions, with a PIN re-login every 12 hours handled automatically when a session expires.