How sinchanacsajjanashettar/event_ticket_booking_system works
This is a Flask/MySQL event-ticket booking application. A customer uses the web UI to access Flask routes for registration, login, event discovery, booking, cancellation, and reports; the routes query or update the EventTicketBooking database. Booking is handled through the BookTicket procedure, with triggers maintaining seat inventory and related state. The README documents database capabilities not visible in the sampled source; those relationships are shown as documented rather than inferred from unsampled SQL.
Main entry points: app.py Flask application · Event_Ticket_Booking.sql Tickets and payments · index.html Web UI
Components 16
Web experience
- Web UI
templates/index.html
Flask API
- Flask application
app.py - Customer accounts
app.py - Event discovery
app.py - Ticket categories
app.py - Ticket booking
app.py - Booking history
app.py - Ticket cancellation
app.py
Booking database
- Events and venues
Event_Ticket_Booking.sql - Tickets and payments
Event_Ticket_Booking.sql - BookTicket procedure
Event_Ticket_Booking.sql - Validation and inventory triggers
Event_Ticket_Booking.sql
Customer and reports
- Customer age report
app.py - Event revenue report
app.py - Top customer rankings
app.py
Other components
- Customer
Connections 25
- Customer → Web UI: uses
README.md - Web UI → Flask application: requests pages and APIs
README.md - Flask application → Web UI: renders
app.py - Flask application → Customer accounts: routes account requests
app.py - Flask application → Event discovery: routes event requests
app.py - Flask application → Ticket categories: routes category requests
app.py - Flask application → Ticket booking: routes booking requests
app.py - Flask application → Booking history: routes booking requests
app.py - Flask application → Ticket cancellation: routes cancellation requests
app.py - Customer accounts → Tickets and payments: queries customer data
app.py - Event discovery → Events and venues: queries events and venues
app.py - Ticket categories → Events and venues: reads category inventory
app.py - Ticket booking → BookTicket procedure: calls
app.py - BookTicket procedure → Tickets and payments: creates booking records
README.md - BookTicket procedure → Validation and inventory triggers: activates
- Validation and inventory triggers → Tickets and payments: updates inventory and booking state
README.md - Booking history → Tickets and payments: queries customer tickets
app.py - Ticket cancellation → Tickets and payments: checks and updates ticket
app.py - Ticket cancellation → Validation and inventory triggers: activates cancellation trigger
app.py - Customer accounts → Customer age report: provides customer identity
app.py - Customer age report → Tickets and payments: queries customer data
app.py - Flask application → Event revenue report: routes report requests
app.py - Event revenue report → Tickets and payments: queries ticket sales
app.py - Flask application → Top customer rankings: routes report requests
app.py - Top customer rankings → Tickets and payments: ranks customer spending
README.md