The problem
HIL Transport operates a fleet of trucks moving shipping containers between UAE ports — Jebel Ali, Khalifa, Rashid, Hamriyah — and customer warehouses. Before this platform, every job, commission payment, supplier invoice, fuel receipt, and proof of delivery lived in Excel spreadsheets, passed around on WhatsApp, manually reconciled, and often weeks out of date.
The pain points were expensive ones: blind-spot fuel fraud (drivers over-claiming diesel litres at fuel stations), commission disputes between admin and drivers, lost proof-of-delivery for subcontracted containers, and zero real-time visibility into customer receivables.
The solution
A full-stack custom logistics platform with four role-based portals — Admin, Driver, Supplier, and Accounts — replacing the Excel workflow entirely while preserving the simplicity the team was used to.
Column-restricted security
Database-level Row Level Security plus column-restricted RPC functions: a driver can update their delivery status but physically cannot modify a commission rate — even via direct API call.
Real-time sync
When a driver signs a Proof of Delivery on their phone, the admin dashboard and supplier portal update within 2 seconds — no refresh. Built on Supabase Realtime across 16 tables.
Offline-first PWA
Drivers in container yards regularly lose signal. The app caches the shell, queues writes in IndexedDB, and auto-syncs when connectivity returns — POD submission, status updates, and diesel logging all work fully offline.
AI-powered diesel fraud detection
OCR extracts litres and odometer readings from photos, cross-checks them against manual entries, computes km/L, and flags mismatches, suspicious patterns, and round numbers — three independent verification layers in one workflow.
Single-use POD links
Suppliers generate a unique URL per container and share it via WhatsApp — the receiver signs on their phone with no login and no app install. The link self-destructs after one submission.
Full financial audit trail
Commission logic centralized in one function (9% HIL drivers, 0% supplier jobs). Soft deletes preserve history, every change is logged with a diff view, and CHECK constraints make invalid data impossible to insert.



Architecture
The stack
A modular monolith on React + Vite, deployed to Cloudflare Pages with a Supabase Pro backend. Production monitoring via Sentry with masked PII, UptimeRobot for availability, and an automated pre-deploy quality check. The codebase follows a documented set of 12 engineering principles — from centralized business logic to column-restricted RLS — captured as a reusable best-practices playbook.
Results
- ~94% reduction in manual data entry compared to the Excel workflow.
- Real-time visibility into receivables, commission, and fuel consumption.
- Zero data loss for drivers working in low-signal port environments.
- Sub-second perceived responsiveness thanks to optimistic UI and code-splitting.
Screens shown are anonymized recreations of the production interface. This is an internal enterprise application — demo access is not publicly available, but a walkthrough can be arranged for serious enquiries.
Running your operations on spreadsheets and WhatsApp?
This platform replaced exactly that. If your business has outgrown Excel — fleet, trading, distribution, or anything multi-location — the first conversation costs nothing.
Let's Connect →