All work

Mar 2026 – Present

TruckerPath

Fleet Operations & Intelligence Platform

Fleet teams juggle dispatch, HOS compliance, and backhaul procurement across disconnected tools — and a single backend outage stops load matching entirely.

I design for failure: when the backend goes down, this platform degrades gracefully to client-side compute instead of stopping the business.

Pipeline

End-to-end flow, stage by stage.

  1. 01

    Load intake

  2. 02

    HOS + proximity score

  3. 03

    4-gate eligibility

  4. 04

    Net-value rank

  5. 05

    Dispatch

  6. 06

    Digital twin telemetry

How it works

01

Smart dispatch scoring

Load assignments are scored on hours-of-service headroom, driver proximity and return-load probability. Dispatchers compare driver candidates side by side with safety scores and availability bars, filter the board by Ready / Needs Input / Blocked / Assigned, and can bulk-assign every ready load in one action.

02

Load creation with real geography

A multi-step drawer autocompletes against 280+ US cities with coordinates, derives haversine distance with a 1.2 road factor, estimates drive time, and scores return-load probability from the destination hub — plus optional one-click driver pre-assignment.

03

3D digital twin of the truck

A Three.js model built entirely from geometric primitives highlights faulted components — tires, brakes, engine — in red or amber while a live telemetry panel reports tire PSI per wheel, brake pad life, fuel, engine status and HOS remaining. Bloom and N8AO ambient occlusion give it depth, and diagnostics export as JSON.

04

Backhaul marketplace with a 4-gate matcher

Carrier bids pass a commodity compatibility matrix, GVWR headroom check, LIFO route-sequencing rule and volumetric trailer capacity test, then rank by bid price minus detour cost. A dual-compute design calls the FastAPI backend with a 2-second abort timeout and silently falls back to an identical in-browser algorithm, flagging demo mode.

05

Billing and cost intelligence

BOL, POD and fuel receipts are dropped in for simulated OCR extraction with live terminal output, flow through invoice approval with margin tracking into a full ledger, while cost intelligence breaks down miles, fuel spend, deadhead ratio and margin per driver.

Engineering decisions

  • Architected a full-stack logistics command platform on React 19 + FastAPI + SQLite with role-based portals for admins, drivers, and shippers.
  • Built a smart dispatch engine scoring loads on Hours of Service, geographic proximity, and return-load probability.
  • Engineered a 4-gate backhaul eligibility pipeline — commodity compatibility, GVWR headroom, LIFO route sequencing, volumetric trailer capacity — ranked by net value (bid price minus detour cost).
  • Designed a dual-compute architecture: an AbortController timeout pattern on the FastAPI service with an automatic mirror JavaScript fallback in the browser, so matching never stops.
  • Built an interactive 3D digital twin with Three.js and react-three-fiber, plus Leaflet tactical routing across 280+ US cities and an AI OCR billing pipeline.

By the numbers

Platform surface area

Domain data and rule coverage built into the demo environment.

US cities with coordinates

Value
280+

Freight corridors simulated

Value
17

Hub cities on the network map

Value
10

Commodity types in the matcher

Value
8

Backhaul eligibility gates

Value
4

What it ships with

  • Animated US freight network map on the landing page
  • Role-based login for admin, driver and shipper
  • Session persistence that survives refresh
  • Live alert feed with Leaflet tactical map overlay
  • Customer portal with shipment booking and tracking
  • Revenue vs cost charts with net margin KPIs

Outcomes

4-gate
Carrier eligibility pipeline
<2s
Failover to client-side matching
280+
US cities in haversine routing
3D
Live component-level fault telemetry

Stack

React 19VitePythonFastAPIThree.jsreact-three-fiberSQLitePydantic v2LeafletVitestWebSockets