How het143/radhe-travels works
This is a Flask bus-booking and operations portal with passenger, operator, and administrator workflows. Passengers search routes, select seats, book and pay, then manage tickets, refunds, support, and feedback. Operators manage fleet and schedules, bookings, offers, and payouts; administrators oversee approvals, settlements, and support. The sampled controllers show direct MySQL access. The app’s registration and configuration wiring, templates, and external payment or email integrations were not sampled, so those relationships are not inferred.
Main entry points: db_connection.py MySQL binding · passenger_controller.py Search and booking · operator_controller.py Fleet and schedules · admin_controller.py Approvals and routes
Components 18
Passenger booking
- Search and booking
controllers/passenger_controller.py - Profile and tickets
controllers/passenger_controller.py - Refunds and support
controllers/passenger_controller.py - Offers and feedback
controllers/passenger_controller.py
Operator operations
- Fleet and schedules
controllers/operator_controller.py - Bookings and cancellations
controllers/operator_controller.py - Offers and usage
controllers/operator_controller.py - Profile and payouts
controllers/operator_controller.py
Administration
- Approvals and routes
controllers/admin_controller.py - Settlements and payments
controllers/admin_controller.py - Support and reports
controllers/admin_controller.py
Application runtime
- Flask application
app.py - Runtime configuration
config.py - MySQL binding
database/db_connection.py
Other components
- Passenger
- Operator
- Administrator
- MySQL database
Connections 23
- Passenger → Search and booking: uses routes
controllers/passenger_controller.py - Passenger → Profile and tickets: uses routes
- Passenger → Refunds and support: uses routes
- Passenger → Offers and feedback: uses routes
- Operator → Fleet and schedules: uses routes
controllers/operator_controller.py - Operator → Bookings and cancellations: uses routes
- Operator → Offers and usage: uses routes
controllers/operator_controller.py - Operator → Profile and payouts: uses routes
- Administrator → Approvals and routes: uses routes
controllers/admin_controller.py - Administrator → Settlements and payments: uses routes
controllers/admin_controller.py - Administrator → Support and reports: uses routes
controllers/admin_controller.py - Search and booking → MySQL binding: queries and updates
controllers/passenger_controller.py - Profile and tickets → MySQL binding: queries and updates
controllers/passenger_controller.py - Refunds and support → MySQL binding: queries and updates
controllers/passenger_controller.py - Offers and feedback → MySQL binding: queries and updates
controllers/passenger_controller.py - Fleet and schedules → MySQL binding: queries and updates
controllers/operator_controller.py - Bookings and cancellations → MySQL binding: queries and updates
controllers/operator_controller.py - Offers and usage → MySQL binding: queries and updates
controllers/operator_controller.py - Profile and payouts → MySQL binding: queries and updates
controllers/operator_controller.py - Approvals and routes → MySQL binding: queries and updates
controllers/admin_controller.py - Settlements and payments → MySQL binding: queries and updates
controllers/admin_controller.py - Support and reports → MySQL binding: queries and updates
controllers/admin_controller.py - MySQL binding → MySQL database: accesses