Skip to content
All projects
Featured Work· 2025 · ELDFeatured

ELD Trips Log Book

ELD Trips Log Book is an intelligent route planning and compliance tracking application for commercial truck drivers. Built with Django/PostgreSQL backend and Next.js frontend, the system automatically generates optimized routes with mandatory rest stops while producing compliant Hours of Service (HOS) log sheets that meet FMCSA Electronic Logging Device regulations.

DjangoPostgresqlReactreact-leaflet
ELD Trips Log Book
▸ Overview
ELD Trips Log Book is a specialized logistics application solving a critical trucking industry challenge: balancing efficient route planning with mandatory Hours of Service (HOS) regulations. The system helps commercial drivers plan compliant trips while optimizing delivery schedules. Technical Architecture Backend: - Django REST Framework with PostgreSQL for trip data and driver logs - RESTful API deployed on Fly.io - Integration with mapping APIs for real-time route calculations - Complex HOS compliance algorithms and rest stop planning Frontend: - React-based interactive UI with responsive design - Map visualization using free mapping APIs - Canvas-based rendering for official ELD log formats - Cross-device compatibility Core Functionality Inputs: - Current location (with geolocation) - Pickup and dropoff locations - Current cycle hours used Intelligent Processing: - Calculates optimal routes via mapping APIs - Analyzes trip duration against available driving hours - Determines mandatory rest stops per FMCSA regulations (11-hour driving limit, 14-hour on-duty -limit, 10-hour rest requirement) - Identifies strategic break locations - Accounts for existing cycle usage Outputs: Interactive Route Map: - Complete journey visualization with color-coded segments - Required rest stop markers with duration and type - Distance/time estimates and total trip duration ELD Daily Log Sheets: - FMCSA-compliant automated log generation - 24-hour duty status visualization - Color-coded status bars (Driving, On-Duty, Sleeper Berth, Off-Duty) - Multiple sheets for multi-day trips - Official grid format with driver info, dates, locations, odometer readings - Event annotations for stops and location changes
▸ Impact & Performance
Performance

Efficient route calculation algorithms minimizing API calls to external mapping services

User Experience

Provides clear visual representation of duty status preventing confusion

Key Metrics

Generated pixel-perfect ELD log sheets matching official formats

▸ Results

Built production-ready full-stack application deployed on cloud infrastructure

Successfully integrated complex third-party APIs for mapping and routing

Implemented sophisticated canvas rendering for professional log sheet output

Created maintainable codebase with clear separation of concerns

▸ Work with me

Want something built like this?

I'm available for new projects. If you have an idea that needs a full-stack or AI engineer, let's talk.