Project: EcoRoute

Challenge Track: Track A. Mobility & Smart Cities

Team Members:

  • Alibek Abylkasymov
  • Ilie Pegza
  • Yunus-Emre Eraslan
  • Milana Koval

Project Description: EcoRoute is a web application that calculates a route based on user-entered start and end locations and a chosen eco transport mode. It then displays the calculated CO2 savings and reward points.

Technical Overview (How it was built):

  1. Frontend (index.html+CSS+app.js): Reads user inputs, sends a POST request (via HTTP fetch) to the backend, and displays the results (distance, CO2, points).
  2. Backend (Flask, app.py Python):
    • Validates input.
    • Geocodes addresses to coordinates using the OpenRouteService (ORS) Pelias search.
    • Calculates the route using the ORS Directions API, supporting cycling, walking, and driving (as a fallback).
    • Computes saved CO2 based on car vs. eco-mode emission factors.
    • Converts the saved CO2 into reward points.
    • Returns a JSON response to the frontend.
  3. External Services: OpenRoute Service provides the Pelias geocoding API and the Directions (routing) API.

Notes:

  • "WIP features" show toast notifications.

Built With

Share this project:

Updates