Skip to content

E-Transit is a web application that shows the real-time location of buses in rural areas, built to improve local public transport monitoring.

Notifications You must be signed in to change notification settings

shakirscode/etransit

 
 

Repository files navigation

🚀 E-Transit App

E-Transit is a web application that shows the real-time location of buses in rural areas, built to improve local public transport monitoring.


🎥 Project Demo


🛠️ Setup Instructions of all Sequence (Hosting)

    1. setup and host GPS device Backend and host it on render
    2. setup and host GPS device frontend and host it on vercel with render's link included un env when deployment u need to give env
    3. setup and host dynamic trip/route assigner backend on railway.com
    4. setup and hot e-transit frontend on vercel and API link generated by railway u need to add here in env
    5. if u need map shedule and about us buttons functions then DM me ....

🔧 Components Overview

This app runs using three main components:

1. GPS Device Tracking System (MERN Stack)

Handles GPS data collection and pushing location to the server.

2. Dynamic Trip/Route Assigner (Python Backend)

Automatically assigns routes/trips based on GPS or schedule data.

3. Frontend (Vite + React)

Displays the live bus tracking, maps, trips, and routes.


📦 Prerequisites


⚙️ Tech Stack

  • 🧠 React
  • ⚡ Vite
  • 📦 npm
  • 🌐 JavaScript (ES6+)
  • 🧭 Leaflet for Maps
  • 📁 dotenv for environment configuration

🛠️ Setup Instructions (Local Setup for Frontend)

1. Clone the Repository

git clone https://github.com/codesbyharsh/etransit.git
cd etransit

2. Install Dependencies

-npm install
-# or
-npm i

3. Configure Environment Variables

Create a .env file in the root directory of the project.

Add the required environment variables inside it.

Sample .env file is provided in the code.

4. Run the App

npm run dev

application will run on:http://localhost:5173/

🛠️ Setup Instructions (Hosting)

host using an vercel checkout yt and gpt for it ...it's not much complicated if u upload this readme file to gpt it is easy


About

E-Transit is a web application that shows the real-time location of buses in rural areas, built to improve local public transport monitoring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.6%
  • CSS 29.8%
  • HTML 0.6%