Degree
Bachelor of Science (Computer Science)
Department
Department of Computer Science
School
School of Mathematics and Computer Science (SMCS)
Advisor
Dr. MuhammadSaeed, Visiting Faculty, Department of Computer Science
Keywords
Bus Tracking, Route Management, Real-Time GPS Tracking
Abstract
AstroRoute is a web-based campus bus tracking and route management system developed for educational institutions. The project addresses a common transport problem faced by students, drivers, and administrators: the absence of a centralized real-time system for knowing where a bus is, who has boarded it, and how the service is operating. In the current traditional process, students often rely on informal updates from other passengers, such as someone messaging that they have boarded the bus, and others then estimating how far the bus may be from their own stop. To the best of our knowledge, a dedicated system that connects students, drivers, and administrators in this way is not currently available in the IBA campus transport context or in similar university transport setups known to us. AstroRoute replaces this manual and uncertain process with a live platform where students can view bus locations and estimated arrival information, drivers can start trips and broadcast their location, and administrators can manage routes, stops, vehicles, trips, and users. The system also records boarding events, helping administrators track who uses the transport service, from where, and when. Built using Flask, PostgreSQL, WebSocket communication, Leaflet.js, OpenStreetMap, and OSRM, AstroRoute combines real-time GPS tracking with route management in a Progressive Web App. Its contribution is a practical, transparent, and organized transport management solution that improves visibility for students, supports drivers during trips, and gives administrators better operational control over campus transport services.
Tools and Technologies Used
Python, Flask, PostgreSQL, Flask-SocketIO, Socket.IO, WebSocket, JWT, bcrypt, Leaflet.js, OpenStreetMap, OSRM, HTML, CSS, JavaScript, Progressive Web App, Render, GitHub
Methodology
AstroRoute was developed using an iterative and practical development approach. We first identified the main users of the system: students, drivers, and administrators, and then planned the core features required for each role. The project was developed module by module, starting with the basic application structure and then adding authentication, route management, live bus tracking, trip handling, boarding records, and the admin dashboard. After each feature was built, it was tested and improved before being integrated with the rest of the system. The frontend and backend communicate through REST APIs, while real-time bus location updates are handled through WebSocket communication. This step-by-step approach allowed us to gradually improve the system and ensure that the final application was functional, organized, and usable for all three roles.
Document Type
Restricted Access
Submission Type
BSCS Final Year Project
Recommended Citation
Shabbir, S., Nasir, A., & Ahmad, I. (2026). Astroroute: A Real-Time Campus Bus Tracking and Route Management System. Retrieved from https://ir.iba.edu.pk/fyp-bscs/37
COinS
