How pranjal360agarwal/apnabharat-bus-booking-reservation-system works
ApnaBharat is presented as a Python/Tkinter bus-reservation desktop application backed by SQLite. The main booking workflow is a passenger entering trip details, searching buses, booking seats, and receiving a generated ticket; operators can maintain bus, route, and operator details. The sampled main module combines interface and booking logic, so those responsibilities share its path. The README also describes payment and confirmation, but the sampled code does not establish a payment integration. Login implementations and the newer feature modules are visible in the tree, but their wiring to the booking flow is not established by the excerpts.
Main entry points: main.py Booking interface · My_database Reservation data · SignIn_page.py Sign-in flow · user_profile.py User profile
Components 16
Booking workflow
- Booking interface
bus-booking-system/main.py - Bus search
bus-booking-system/main.py - Seat booking
bus-booking-system/main.py - Ticket PDF
bus-booking-system/main.py - Reservation data
bus-booking-system/My_database
Operator tools
- Operator tools
bus-booking-system/main.py
Accounts and extras
- Sign-in flow
bus-booking-system/Modules/SignIn_Module/SignIn_page.py - Credential database
bus-booking-system/user_credentials.db - Account deletion
bus-booking-system/Modules/DeleteAccount/AccountDelete.py - User profile
New Features/user_profile.py - Profile database
New Features/user_database.db - Booking history
New Features/booking_history.py - Recommendations
New Features/recommendation_feature.py - Live tracking
New Features/realtime.py
External services
- Weather service
Other components
- Passenger
Connections 11
- Passenger → Booking interface: enters trip details
- Booking interface → Bus search: requests search
- Bus search → Reservation data: queries availability
- Booking interface → Seat booking: books seats
- Seat booking → Reservation data: writes reservation
- Booking interface → Ticket PDF: generates ticket
- Booking interface → Operator tools: offers admin tools
- Operator tools → Reservation data: updates bus routes
- Sign-in flow → Credential database: reads and updates
- User profile → Profile database: reads and updates
- Booking interface → Weather service: requests weather