01The problem
Merchants needed orders delivered, either by their own riders or by third-party couriers. That needed one place to model a delivery from creation to completion, whoever carries it.
02The core: a delivery task
Everything in Fleet hangs off a task with an explicit lifecycle, and every status change is logged:
In-house riders and third-party couriers move through the same lifecycle.
03What I built
Courier integrations
- GoSend: asynchronous booking, webhook status processing, driver-search monitoring, driver tracking, live tracking URLs, cancellation.
- Grab Express: delivery preview, webhook processing, auth token management.
- JNE.
Bookings are made asynchronously, and status updates come back through webhooks and move the task through its lifecycle.
In-house riders
- Rider authentication, password management, and assignment of tasks to riders.
- FCM push notifications to riders.
- Proof of pickup and proof of delivery.
- On the rider app, location updates sent only while a delivery is in progress.
Fees and tracking
- Distance-based delivery fee calculation, with radius validation and configurable delivery variants.
- Live tracking URLs.
Backoffice
- Delivery task management, rider management, reporting, and AWB download.
04Result
Fleet runs as a Stamps product: one delivery model behind both in-house riders and third-party couriers, with a rider app on Google Play.
It's the largest system I've built from scratch.