← all systems
Logistics & On-Demand Dispatch
ROLE // PLATFORM & BACKEND SYSTEMS ENGINEER
Fourdat logo

Fourdat

Multi-tenant urban logistics dispatch and microsecond route optimization engine.

Turborepo MonorepoBunOSRM RoutingKudiSMSDocker ComposePostgreSQL
the problem

Urban delivery operations struggle with exorbitant routing API costs (e.g. Google Maps distance matrix), fragmented mobile apps between merchants, drivers, and customers, and unreliable SMS dispatch notifications.

the solution

Architected a unified Turborepo monorepo encompassing 5 distinct operational applications: Admin, API Gateway, Customer Portal, Driver App, and Merchant Dashboard. Integrated a self-hosted OSRM (Open Source Routing Machine) routing container for zero-cost distance calculations and KudiSMS for instant driver dispatch.

the system

Turborepo monorepo powered by Bun runtime, Docker Compose infrastructure orchestration, PostgreSQL database, and containerized OSRM routing engine. KudiSMS integration handles real-time SMS alerts.

the hard part

OSRM contraction hierarchies for sub-millisecond road-network distance matrix calculations and driver-to-package nearest-neighbor assignment.

why this stack

Turborepo + Bun provides blazing fast build times and unified TypeScript package sharing across 5 applications; self-hosted OSRM eliminates recurring commercial routing API fees.

the innovation

A self-contained, enterprise-grade logistics dispatch platform capable of routing thousands of urban deliveries locally with zero third-party mapping API dependencies.

the potential

Private-fleet urban logistics network for commercial retail chains and on-demand delivery.

next system
OneTimeSurveys