E-Transit is a web application that shows the real-time location of buses in rural areas, built to improve local public transport monitoring.
-
- setup and host GPS device Backend and host it on render
- 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
- setup and host dynamic trip/route assigner backend on railway.com
- setup and hot e-transit frontend on vercel and API link generated by railway u need to add here in env
- if u need map shedule and about us buttons functions then DM me ....
This app runs using three main components:
Handles GPS data collection and pushing location to the server.
Automatically assigns routes/trips based on GPS or schedule data.
Displays the live bus tracking, maps, trips, and routes.
- 🌐 Watch Preview
- 💻 This Repository
- for the "map & shedule" button refer this repo
- demo
-
Static GTFS file: gtfs.zip
📘 GTFS builder guidebook
🛠️ Download GTFS Builder -
Node.js and npm installed
-
.envfile setup with required credentials
- 🧠 React
- ⚡ Vite
- 📦 npm
- 🌐 JavaScript (ES6+)
- 🧭 Leaflet for Maps
- 📁 dotenv for environment configuration
git clone https://github.com/codesbyharsh/etransit.git
cd etransit-npm install
-# or
-npm iCreate 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.npm run devapplication will run on:http://localhost:5173/
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