Logistics Powerhouse
A multi tenant UK courier and haulage SaaS covering dispatch, live GPS tracking, driver compliance, invoicing, and payouts across an operator dashboard, a NestJS API, and a Flutter driver app.

The Challenge
Running a courier network across three surfaces at once: an operator dashboard, a driver phone inside a moving van, and a customer waiting on a tracking link. Every workspace has to stay strictly isolated from every other one, drivers have to keep working through dead signal areas without losing a completed delivery, live vehicle positions have to reach the dispatch board within seconds, and each drop has to produce proof strong enough to settle a dispute weeks later.
The Approach
Built a NestJS 11 API over MongoDB with tenant scoped repositories, JWT access and refresh tokens, and per tenant role based permissions enforced at guard level. Redis backs the cache, BullMQ queues, rate limiting, the distributed cron lock, and the Socket.IO adapter, so the API scales past a single instance. The Next.js 16 operator dashboard uses React Query and Google Maps for dispatch, live fleet tracking, and reporting. The Flutter driver app runs an OS level background location service that reports on movement with a slow keepalive, queues proof of delivery and collection records offline behind idempotency keys, and verifies compliance documents on device with ML Kit before upload. Everything deploys on a Dokploy managed VPS behind Cloudflare, with nightly database backups to S3 compatible storage.
Key Features
- Tenant isolated workspaces with role based access for owners, admins, dispatchers, and customers
- Live dispatch board and GPS tracking over Socket.IO, plus a public tracking link that needs no account
- Flutter driver app with background location, offline job queue, photo and signature proof of delivery, and push notifications
- Driver onboarding and compliance wizard with tenant configurable documents, on device scanning, and e signed service agreements
- Stripe billing with plan quotas, usage meters, customer invoicing, payout holds, and itemised deductions
- Embeddable quote calculator that captures leads on a tenant website and converts them straight into jobs
- Customer self service portal for bookings, shipment status, invoices, and online payment
Results
Shipped a production deployed platform where a job moves from an instant online quote to a dispatched driver, a live tracking link, a signed proof of delivery, and a paid invoice without ever leaving the system, replacing the phone calls, spreadsheets, and photo messages the operation ran on before.