CarryHub
Textile Logistics Marketplace & Operating System for Courier Routing
Problem
Solution
System Architecture
TypeScript Next.js multi-tenant frontend communicating with a Python FastAPI core. Asynchronous route optimization algorithms run on background workers writing finalized manifests to PostgreSQL.
System Architecture Flow
4 ComponentsCourier Dispatcher Portal
Next.js interface for live fleet tracking & order assignment.
FastAPI Core API
RESTful API handling authentication, pricing & webhooks.
Route Calculation Engine
Asynchronous distance calculation & clustering worker.
PostgreSQL Database
Spatial indexing store for delivery manifests and locations.
Execution Workflow
Business Impact & Metrics
Transformed manual dispatch operations into a 1-click automated system, allowing logistics operations to handle significantly more daily shipments.
Key Lessons Learned
What I Would Build Differently Today
“I would use an event-driven architecture using Kafka or NATS streams to decouple order ingestion from spatial route solver execution.”
