TruckRoute Planner — GIS & HOS Compliance Platform
An enterprise-grade commercial fleet route optimization and Electronic Logging Device (ELD) compliance platform built for long-haul truck dispatchers and drivers under US FMCSA regulations. Powered by PostGIS spatial queries, automated fuel stop recommendations based on tank capacity and fuel prices, and a 24-hour daily ELD grid log generator.
View GitHub repoLive GIS Fleet Mapping & Spatial Engine
PostGIS-powered spatial mapping with real-time driver tracking, waypoint overlays, toll calculation, and dynamic route optimization.
FMCSA Hours of Service (HOS) Engine
The platform enforces strict Federal Motor Carrier Safety Administration (FMCSA) property-carrying driver rules via a robust duty state machine.
Tracks the 11-hour driving limit, 14-hour duty window, 30-minute mandatory break, 70-hour / 8-day rolling cycle limits, and applies 34-hour off-duty restarts automatically.
• 14-Hour Duty Window: Strict driving cutoff 14 hours after coming on duty.
• 30-Minute Break Enforcement: Mandates rest after 8 cumulative driving hours.
• 34-Hour Cycle Restart: Auto-detects 34 consecutive off-duty hours to reset 70h cycle.
Core Platform Mechanics
Interactive Application Showcase Gallery
Explore the long-haul driver experience, dispatcher portals, and admin management dashboards.
Technology Stack & Infrastructure Specs
| Backend Core | Python 3.11, Django 4.2 LTS, Django REST Framework (DRF) |
|---|---|
| Geospatial GIS Engine | GeoDjango (django.contrib.gis), PostGIS (PostgreSQL 15 + Spatial Extensions 3.3), GDAL, GEOS, PROJ |
| Background & Caching | Celery 5.x, Celery Beat (Periodic HOS resets), Redis 7 Broker & Cache |
| Frontend Stack | React 19, TypeScript 5.8, Vite 7, TailwindCSS 3.4, HeroUI, Radix UI Primitives, Lucide Icons |
| State & Maps | Zustand, `@tanstack/react-query` v5, Mapbox GL JS / React Map GL, Google Maps JS API |
| DevOps & Containerization | Docker Multi-stage builds, Docker Compose, Nginx Reverse Proxy & Static Server |








