π Hackathon Winning Project
An AI-powered intelligent public transportation platform that modernizes fleet management through real-time GPS tracking, predictive analytics, driver fatigue detection, AI assistance, and live transit monitoring.
- π Hackathon Winning Project
- π AI-powered Smart Transit Platform
- π Real-time GPS Bus Tracking
- β‘ Socket.IO Live Communication
- π€ AI Transit Assistant
- π§ Driver Fatigue Detection
- π Predictive ETA & Delay Analytics
- π¨βπΌ Multi-role Dashboard (Admin β’ Driver β’ Student)
- βοΈ Production Deployment on Vercel & Render
SmartTransit is a modern intelligent transportation management platform built to improve public transit through real-time communication, artificial intelligence, and predictive analytics.
The platform provides a complete ecosystem for students, drivers, and administrators by combining live vehicle tracking, intelligent ETA prediction, fatigue monitoring, AI-powered assistance, and centralized fleet management into a single scalable application.
Unlike traditional GPS tracking systems, SmartTransit focuses on operational intelligence by integrating machine learning, real-time sockets, and cloud-native architecture to enhance both passenger experience and fleet efficiency.
- Live Bus Tracking
- GPS Position Updates
- Route Monitoring
- Arrival Notifications
- Bus Assignment
- Driver Console
- AI Transit Assistant
- Delay Prediction
- Smart ETA Estimation
- Operational Insights
- Intelligent Route Suggestions
- AI Fatigue Detection
- Driver Monitoring
- Safety Alerts
- Health Status Tracking
- Fleet Management
- Route Management
- Driver Management
- Student Management
- Analytics Dashboard
- Start / End Trips
- Live GPS Broadcast
- Boarding Status
- Emergency Controls
- Route Navigation
- Live Bus Tracking
- ETA Prediction
- Bus Status
- Boarding Updates
- Route Information
SmartTransit
Next.js Frontend
β
ββββββββββββββββΌβββββββββββββββ
β β β
β β β
Socket Service Fatigue API AI Services
(Node.js) (Python) (OpenRouter)
β
MongoDB Database
The application follows a modular architecture by separating real-time communication and AI services into dedicated backend services, improving scalability and maintainability.
- Next.js
- React
- TypeScript
- Tailwind CSS
- GSAP
- Node.js
- Express.js
- Socket.IO
- OpenRouter API
- Python
- Fatigue Detection Service
- MongoDB
- NextAuth
- Vercel
- Render
SmartTransit
β
βββ app/
βββ components/
βββ lib/
βββ models/
βββ public/
βββ socket-service/
βββ fatigue-service/
βββ scripts/
βββ types/
βββ README.md
βββ .env.example
git clone https://github.com/imjoe77/SmartTransit.gitcd SmartTransitInstall dependencies
npm installRun development server
npm run devCreate a .env.local
Example
MONGODB_URI=
NEXTAUTH_URL=
NEXTAUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
OPENROUTER_API_KEY=
NEXT_PUBLIC_SOCKET_URL=
SOCKET_SERVICE_URL=
SOCKET_SERVICE_TOKEN=
FATIGUE_SERVICE_URL=Frontend
- Vercel
Backend Services
- Render
Database
- MongoDB Atlas
Add screenshots here
- Landing Page
- Admin Dashboard
- Driver Dashboard
- Student Tracking
- AI Assistant
- Route Management
- Driver Fatigue Detection
- Mobile Interface
- Push Notifications
- Offline Bus Tracking
- Mobile Application
- Predictive Traffic Analysis
- Attendance Automation
- Multi-City Support
- Fleet Optimization AI
- Voice Assistant
Contributions are welcome!
If you'd like to improve SmartTransit:
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
This project is licensed under the MIT License.
See the LICENSE file for details.
MIT License Template: https://opensource.org/licenses/MIT
Nathaniel Bandi
GitHub: https://github.com/imjoe77
β If you found this project interesting, consider giving it a star!
