Web platform · September 2026 Demo on request
FleetView
Real-time fleet management: a live map, automatic trips, estimated arrival times, mileage, geofences and alerts.
What it is
A complete MVP for tracking trucks: live positions, trips that open and close on their own, ETAs with a confidence level, mileage-based maintenance and alerts that don’t flood you.
It runs on Node 22 with zero dependencies: the HTTP server and the SQLite that ship with Node. The driver app installs and keeps logging without coverage.
What I built
- Live map with Server-Sent Events, no reloading
- Batch position ingestion with an API key per device
- ETA projected onto the planned route, accounting for traffic and rest stops
- Geofences (circles and polygons), fuel and cost per kilometer
- An installable, offline driver app and a public tracking link for the customer
The hard parts
Never lose, never duplicate
Every position travels with a uid; a unique index means resending never duplicates, and the device only deletes what the server has confirmed.
Out-of-order data
When the signal returns, gaps from the past arrive: they’re inserted in place and the next segment is recalculated, so the mileage doesn’t inflate.
Alerts with judgment
Geofences store their bounding box and the state of each truck: alerts fire on entering or leaving, not on every point.