Back to work
Operations Feature

Real Time Driver Tracking

Built unified driver status so restaurants and consumers always know exactly where their order is.

Problem

Once an order was handed to a third-party delivery provider, there was zero visibility into what was happening. Restaurants called support asking if a driver had been assigned. Consumers had no idea where their food was. Trust in the delivery experience was low.

What I built

A unified driver status framework covering all third-party providers.

A new driver status table defines 12 standardised statuses covering every stage of the delivery lifecycle, from Ready to Assign through Enroute to Pickup, Pickup Arrived, Enroute to Dropoff, and Dropoff Complete.

Webhook events from each provider are mapped to these 12 statuses so the consumer app and restaurant management app always see consistent labels regardless of which provider is delivering.

GPS coordinates are stored and refreshed every 30 seconds. Driver status and location are available to both the consumer ordering platform for live tracking and the restaurant management app for kitchen coordination.

Key decisions

Standardise across all providers with one internal status model. Separate status codes from labels so UI messaging can differ even when status IDs are the same. GPS every 30 seconds as the update frequency sweet spot between freshness and cost.

Outcome

Restaurants see live driver status in their management app. Consumers see live driver location on a map and receive push notifications on key status changes. Support calls asking about driver assignment reduced.