How thiraya-git/events-management-system works
Aazath Plaza’s Events Management System supports customer hall and room reservations, event coordination, catering, payments, and staff administration. The main workflow is customer booking submission through the React application, API routing, booking orchestration, and PostgreSQL persistence; staff then manage approval and organizer assignment, with payment and invoicing available afterward. Other documented capabilities include analytics and reports, sponsor connections, catering, timelines, and notifications. Some feature links are documented only at product level; those are cited to the README rather than inferred from unsampled implementation.
Main entry points: app.js Express API · organizer Partner portals · App.tsx React application · booking.routes.js Booking routes
Components 23
Web application
- React application
client/src/App.tsx - Booking workflow
client/src/pages/customer/BookingWizardPage.tsx - Admin portal
client/src/pages/admin - Partner portals
client/src/pages/organizer
Booking and payment
- Booking routes
server/src/routes/booking.routes.js - Booking handlers
server/src/controllers/booking.controller.js - Booking rules
server/src/services/booking.service.js - Event pricing
server/src/services/pricing.service.js - Payment processing
server/src/routes/payment.routes.js - PDF invoices
server/src/services/pdf.service.js
Hall operations
- Availability and halls
server/src/services/hall.availability.service.js - Event timeline
server/src/services/timeline.service.js - Analytics and reports
server/src/services/analytics.service.js - Customer feedback
server/src/controllers/feedback.controller.js
Event partners
- Restaurant and catering
server/src/controllers/catering.controller.js - Organizer coordination
server/src/controllers/organizer.controller.js - Sponsor connections
server/src/services/sponsor.service.js
Shared platform
- Express API
server/src/app.js - Authentication and roles
server/src/middleware/auth.middleware.js - PostgreSQL access
server/src/config/db.js - Email and SMS
server/src/services/email.service.js
Other components
- Customer
- PayHere
Connections 23
- Customer → React application: uses
- React application → Booking workflow: routes to
client/src/App.tsx - Booking workflow → Express API: submits booking
- Admin portal → Express API: manages bookings
- Partner portals → Express API: coordinates events
- Express API → Booking routes: mounts routes
server/src/app.js - Booking routes → Booking handlers: dispatches
server/src/routes/booking.routes.js - Booking handlers → Booking rules: creates booking
server/src/controllers/booking.controller.js - Booking rules → Event pricing: calculates price
server/src/services/booking.service.js - Booking rules → PostgreSQL access: checks and stores
server/src/services/booking.service.js - Booking routes → Availability and halls: serves availability
- Express API → Payment processing: mounts routes
server/src/app.js - Payment processing → PayHere: processes payments
- Payment processing → PDF invoices: generates invoice
server/src/routes/payment.routes.js - Admin portal → Analytics and reports: views reporting
- Partner portals → Organizer coordination: handles requests
- Partner portals → Sponsor connections: manages offers
- Partner portals → Restaurant and catering: manages orders
- Booking handlers → Email and SMS: sends updates
server/src/controllers/booking.controller.js - Booking routes → Event timeline: routes activities
server/src/routes/booking.routes.js - React application → Authentication and roles: protects pages
client/src/App.tsx - Express API → PostgreSQL access: checks health
server/src/app.js - React application → Customer feedback: supports feedback