This is the Dynamic Trip & Route Assigner backend service, written in Python, and is a critical part of the E-Transit system.
It dynamically allocates trips and routes based on incoming GPS data or pre-scheduled information, and provides a real-time API for integration with the frontend app.
- Python 3.x
- Flask (or FastAPI, depending on your implementation)
- GTFS/GeoJSON
- REST API
- Python 3.x installed
requirements.txtfile available in the repo
##1. Clone the Repository
git clone https://github.com/your-username/trip-route-assigner.git
cd trip-route-assignerpip install -r requirements.txtpython main.pyAPI will be available at: http://localhost:8080/
host using railway.com checkout yt and gpt for it ...it's not much complicated if u upload this readme file to gpt it is easy