Skip to content

codesbyharsh/dynamic-trip-assigner

Repository files navigation

🛰️ E-Transit – Dynamic Trip/Route Assigner

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.


⚙️ Tech Stack

  • Python 3.x
  • Flask (or FastAPI, depending on your implementation)
  • GTFS/GeoJSON
  • REST API

📦 Prerequisites

  • Python 3.x installed
  • requirements.txt file available in the repo

🛠️ Setup Instructions

##1. Clone the Repository

git clone https://github.com/your-username/trip-route-assigner.git
cd trip-route-assigner

2. Install Dependencies

pip install -r requirements.txt

3. Run the API Server

python main.py

API will be available at: http://localhost:8080/

🛠️ Setup Instructions (Hosting)

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

U Need to add this API in frontend .env.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages