Cometa Envíos
Delivery dispatch platform
Orders are geocoded, routed on real streets and assigned to the rider who can get there first, then tracked live to proof of delivery.
Concept project · fictional brand and sample dataApp in Spanish
- 35
- automated tests passing
- 30 ms
- p95 to create an order: geocode, route and assign
- 4
- position updates per second on the dispatcher map
- 8
- Buenos Aires neighbourhoods on the real street map
The brief
A small delivery operation in a dense city loses minutes at every step. Addresses are typed by hand, orders go to whoever answers the phone instead of the rider who can arrive first, and nobody can give the customer a reliable ETA or show proof when something goes wrong.
What I built
- Order intake with street autocomplete, offline geocoding against real address points and a coverage check
- Routing on a real OpenStreetMap street graph that respects one-way streets and sets the fee by distance
- Auto-assignment by time to pickup and rider load, with the ranked candidates and a plain-language reason
- Drag an order onto a rider to reassign it; the server refuses once the order has been picked up
- Live map with every rider moving along their route and the selected order's route highlighted
- Rider PWA with one big button per step, closing each delivery with a photo and an on-screen signature
- Order timeline with live ETAs and an ops dashboard tracking on-time % against a 90 % target
The decision that mattered
Own routing and geocoding, no external map service
The app ships its own street graph and address list built from OpenStreetMap, with an A* router and an offline geocoder in the same server process. Creating an order validates it, geocodes the address, routes it, ranks riders by real street routes and assigns one without calling any outside service, so it needs no API keys and keeps working offline. A test checks that A* returns the same routes as plain Dijkstra on 25 random pairs.