How anubhavxdev/event-management-system-main works
EventOne is a full-stack event-management platform: users discover events, register and check in, then leave reviews; organizers create and manage events, while admins moderate them. The React app routes users to role-specific dashboards and the Express API exposes the corresponding domain endpoints. Registration handles capacity, QR codes, notifications, and email; event and review controllers persist domain data. The map combines sampled calls with README capabilities and SOURCE INDEX references; some frontend-to-API interactions and unsampled features are shown only as unverified links.
Main entry points: app.js HTTP API · App.jsx Web router · registrationController.js Registration and check-in · models Domain records
Components 23
Web application
- Web router
Frontendd/src/App.jsx - Authentication state
Frontendd/src/context/AuthContext.jsx - Attendee dashboard
Frontendd/src/pages/dashboard/CustomerDashboard.jsx - Organizer dashboard
Frontendd/src/pages/dashboard/OrganizerDashboard.jsx - Admin dashboard
Frontendd/src/pages/dashboard/AdminDashboard.jsx
API and access
- HTTP API
backend/src/app.js - Authentication routes
backend/src/routes/authRoutes.js - Event routes
backend/src/routes/eventRoutes.js - Registration routes
backend/src/routes/registrationRoutes.js - Review routes
backend/src/routes/reviewRoutes.js
Event workflows
- Event management
backend/src/controllers/eventController.js - Registration and check-in
backend/src/controllers/registrationController.js - Event reviews
backend/src/controllers/reviewController.js - Moderation
backend/src/controllers/adminController.js - Notifications
backend/src/controllers/notificationController.js
Persistence and services
- Domain records
backend/src/models - Realtime updates
backend/src/services/socket.js - Email delivery
backend/src/utils/email.js - QR generation
backend/src/utils/qrcode.js - Poster storage
backend/src/config/cloudinary.js
Other components
- Attendees
- Organizers
- Administrators
Connections 31
- Attendees → Web router: browse and register
- Organizers → Web router: manage events
- Administrators → Web router: moderate events
Frontendd/src/App.jsx - Web router → Authentication state: checks identity
Frontendd/src/App.jsx - Web router → Attendee dashboard: routes attendees
Frontendd/src/App.jsx - Web router → Organizer dashboard: routes organizers
Frontendd/src/App.jsx - Web router → Admin dashboard: routes admins
Frontendd/src/App.jsx - Authentication state → HTTP API: fetches user
- Attendee dashboard → HTTP API: uses event services
- Organizer dashboard → HTTP API: uses event services
- Admin dashboard → HTTP API: uses admin services
- HTTP API → Authentication routes: mounts routes
backend/src/app.js - HTTP API → Event routes: mounts routes
backend/src/app.js - HTTP API → Registration routes: mounts routes
backend/src/app.js - HTTP API → Review routes: mounts routes
backend/src/app.js - Event routes → Event management: dispatches requests
backend/src/routes/eventRoutes.js - Registration routes → Registration and check-in: dispatches requests
backend/src/routes/registrationRoutes.js - Review routes → Event reviews: dispatches requests
backend/src/routes/reviewRoutes.js - Event management → Domain records: reads and writes
backend/src/controllers/eventController.js - Registration and check-in → Domain records: reads and writes
backend/src/controllers/registrationController.js - Event reviews → Domain records: reads and writes
backend/src/controllers/reviewController.js - Event reviews → Domain records: updates event rating
backend/src/controllers/reviewController.js - Moderation → Domain records: moderates records
backend/src/controllers/adminController.js - Registration and check-in → QR generation: generates codes
backend/src/controllers/registrationController.js - Registration and check-in → Email delivery: sends confirmations
backend/src/controllers/registrationController.js - Registration and check-in → Realtime updates: emits count
backend/src/controllers/registrationController.js - Registration and check-in → Notifications: creates notices
backend/src/controllers/registrationController.js - Notifications → Realtime updates: publishes updates
backend/src/controllers/notificationController.js - Moderation → Notifications: creates notices
backend/src/controllers/adminController.js - Moderation → Email delivery: sends rejection mail
backend/src/controllers/adminController.js - Event management → Poster storage: manages posters
backend/src/controllers/eventController.js