The problem
A small haulier has to keep dozens of dates valid: technical inspections, tachograph calibrations, driving licences, driver cards, medical examinations, crane inspections. When a driver's licence lapses, the operator is the one liable. FleetEase is there so that someone else's oversight does not land on the operator. That one fact shapes most of the design: what is tracked, who sees it and how hard a reminder pushes.
How it works
Every vehicle, person and piece of equipment carries obligations, and each obligation type has a versioned rule: a fixed expiry, an interval from the day it was done, or an interval in kilometres or engine hours. Record that something was done and the database recomputes the deadline and the reminder plan. Where the operator carries the risk, reminders start sixty days ahead and keep coming after the deadline until it is dealt with. Drivers report from their phone that something was done, with a photo of the protocol, or that something is broken. A red defect marks the vehicle as not to be driven, and what a driver reported can never be edited afterwards.
What I decided
It began as a university team project where I was tech lead. I rebuilt it on my own, from scratch, for a real company. Four roles are enforced by PostgreSQL row-level security, forced so that even the table owner obeys it, and every permission beyond a role's base is off until the owner turns it on. Health data sits behind its own grant. The API is .NET 10 in vertical slices with hand-written SQL and no ORM, because the security model lives in SQL. The frontend is an installable React app that keeps working in a yard with no signal and says when what it shows may be out of date.
Architecture
- Phone PWAworks offline
- API.NET 10 slicesmy code
- Hand-written SQLno ORM
- PostgreSQLforced row-level security
- Nightly reminder plan