How irshadalam-dev/theatre-management-system works
The repository is a full-stack theatre booking application: customers browse shows, reserve seats, record pending cash payments, and may cancel unpaid bookings; admins maintain catalogue data and confirm cash payments. The browser UI is served by Spring Boot and calls its API. The README documents the controller → service → repository request layers and MySQL persistence. Backend source excerpts were not provided, so those links rely on the README rather than inspected implementation; feature nodes use exact paths from the tree.
Main entry points: controller HTTP controllers · repository Data access · app.js Booking UI · TheatreManagementApplication.java Spring Boot app
Components 16
Browser experience
- Booking UI
src/main/resources/static/app.js
API and security
- Spring Boot app
src/main/java/com/example/theatre/TheatreManagementApplication.java - HTTP controllers
src/main/java/com/example/theatre/controller - JWT and roles
src/main/java/com/example/theatre/security - API contracts
src/main/java/com/example/theatre/dto - API errors
src/main/java/com/example/theatre/exception
Booking operations
- Accounts
src/main/java/com/example/theatre/service/AuthService.java - Theatre catalogue
src/main/java/com/example/theatre/service - Seat bookings
src/main/java/com/example/theatre/service/BookingService.java - Cash payments
src/main/java/com/example/theatre/service/PaymentService.java
Persistence
- Domain records
src/main/java/com/example/theatre/entity - Data access
src/main/java/com/example/theatre/repository - Schema migrations
src/main/resources/db/migration
Other components
- Customer
- Admin
- MySQL
Connections 19
- Customer → Booking UI: uses
README.md - Admin → Booking UI: uses
README.md - Booking UI → HTTP controllers: calls API
src/main/resources/static/app.js - Spring Boot app → Booking UI: serves
README.md - Spring Boot app → HTTP controllers: handles requests
README.md - HTTP controllers → JWT and roles: enforces access
README.md - HTTP controllers → API contracts: uses contracts
README.md - HTTP controllers → Accounts: delegates
README.md - HTTP controllers → Theatre catalogue: delegates
README.md - HTTP controllers → Seat bookings: delegates
README.md - HTTP controllers → Cash payments: delegates
README.md - HTTP controllers → API errors: returns errors
README.md - Accounts → Data access: accesses data
README.md - Theatre catalogue → Data access: accesses data
README.md - Seat bookings → Data access: accesses data
README.md - Cash payments → Data access: accesses data
README.md - Data access → Domain records: maps records
README.md - Data access → MySQL: persists data
README.md - Schema migrations → MySQL: manages schema
README.md