How roa-aw/eventsphere works
EventSphere is an event discovery, venue and seat management, and ticket-booking application, with a React client and ASP.NET API. Users browse approved events, select a seat, book it, and manage bookings; organizers and administrators also manage events and rooms, while administrators access reports and audit views. The API uses service layers and EF Core persistence; bookings include payment-status handling and downloadable PDF/QR tickets. Several frontend pages and API controllers were not excerpted, so those branches are represented at subsystem level and uncertain connections are omitted.
Main entry points: Program.cs API configuration · AppDbContext.cs EF Core context · App.js App navigation · EventService.cs Event service
Components 23
Web client
- App navigation
eventsphere-frontend/src/App.js - Event pages
eventsphere-frontend/src/pages - Booking pages
eventsphere-frontend/src/pages - Admin pages
eventsphere-frontend/src/pages - API client
eventsphere-frontend/src/services/api.js
API and identity
- Authentication
Controllers/AuthController.cs - User management
Controllers/UsersController.cs - JWT service
Services/JwtService.cs - Event endpoints
Controllers/EventsController.cs - Room endpoints
Controllers/RoomsController.cs - Seat endpoints
Controllers/SeatController.cs - User service
Services/UserService.cs - API configuration
Program.cs
Events and venues
- Event service
Services/EventService.cs - Room service
Services/RoomService.cs
Booking and tickets
- Booking endpoints
Controllers/BookingController.cs - Booking service
Services/BookingService.cs - PDF and QR tickets
Controllers/BookingController.cs
Persistence
- EF Core context
Data/AppDbContext.cs - Domain entities
Entities - Audit records
Entities/AuditLog.cs
Other components
- User
- PostgreSQL
Connections 26
- User → App navigation: uses
eventsphere-frontend/src/App.js - App navigation → Event pages: routes to
eventsphere-frontend/src/App.js - App navigation → Booking pages: routes to
eventsphere-frontend/src/App.js - App navigation → Admin pages: routes to
eventsphere-frontend/src/App.js - App navigation → API client: loads profile
eventsphere-frontend/src/App.js - API configuration → Event service: registers
Program.cs - API configuration → Room service: registers
Program.cs - API configuration → User service: registers
Program.cs - API configuration → Booking service: registers
Program.cs - API configuration → JWT service: registers
Program.cs - API configuration → EF Core context: configures
Program.cs - API configuration → PostgreSQL: connects
Program.cs - Authentication → JWT service: uses
Controllers/AuthController.cs - User management → User service: uses
- Event endpoints → Event service: calls
- Room endpoints → Room service: calls
- Booking endpoints → Booking service: calls
Controllers/BookingController.cs - Booking endpoints → EF Core context: queries
Controllers/BookingController.cs - Booking endpoints → PDF and QR tickets: generates
Controllers/BookingController.cs - Event service → EF Core context: reads and writes
Services/EventService.cs - Event service → Audit records: records changes
Services/EventService.cs - Room service → EF Core context: reads and writes
Services/RoomService.cs - User service → EF Core context: reads and writes
Services/UserService.cs - Booking service → EF Core context: reads and writes
Services/BookingService.cs - EF Core context → Domain entities: maps
Data/AppDbContext.cs - EF Core context → Audit records: creates audit records
Data/AppDbContext.cs