Skip to content

omarraf/transport-planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Sustainable Transport Planner

A modern web application that helps users plan eco-friendly routes and compare different transportation methods with real-time emissions, cost calculations, and environmental impact analysis.

✨ Features

🗺️ Route Planning

  • Multi-modal routing - Compare walking, cycling, and driving routes
  • Interactive map - Powered by Mapbox GL JS with custom markers and route visualization
  • Real-time directions - Get accurate route calculations with turn-by-turn guidance
  • Smart location search - Intelligent geocoding with autocomplete dropdown and multiple location suggestions

📊 Environmental Analytics

  • Carbon emissions tracking - Calculate CO2 footprint for each transport mode
  • Cost analysis - Estimate travel costs including fuel, maintenance, and depreciation
  • Health metrics - Track calories burned for active transport modes

🔗 External Integration

  • Google Maps links - One-click access to detailed navigation in Google Maps
  • Route comparison - Side-by-side analysis of all transport options
  • Performance metrics - Distance, duration, and efficiency comparisons

🛠️ Tech Stack

Frontend

Backend

Infrastructure & DevOps

  • Vercel - Frontend deployment and hosting
  • Railway - Backend API deployment
  • Docker - Containerized backend deployment
  • GitHub Actions - CI/CD

Usage

  1. Enter locations - Type start and destination addresses to see autocomplete suggestions
  2. Select locations - Choose from multiple location options in the dropdown
  3. Calculate routes - Click "Calculate All Routes" to compare options
  4. View results - See distance, time, emissions, and costs for each mode
  5. Explore map - Interactive route visualization with custom controls
  6. Open in Google Maps - Click any transport method for more detailed navigation

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

About

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages