How csvarshini2967/campus-event-management-system works
This is a reference campus event management system, not a complete working product. Its intended user workflow is authentication, event discovery, registration, and event administration; the README also names clubs, venues, attendance, and feedback. The sampled backend wires auth, event, and registration routes to placeholder controllers; only event listing visibly queries MySQL. The frontend entry currently renders a minimal placeholder rather than the listed dashboards. Unwired capabilities are included as documented subsystems, without inferred runtime connections.
Main entry points: server.js Express server · authRoutes.js Auth routes · eventRoutes.js Event routes · registrationRoutes.js Registration routes
Components 20
API routing
- Express server
backend/server.js - Auth routes
backend/routes/authRoutes.js - Event routes
backend/routes/eventRoutes.js - Registration routes
backend/routes/registrationRoutes.js
Event operations
- Authentication
backend/controllers/authController.js - Event management
backend/controllers/eventController.js - Event registration
backend/controllers/registrationController.js - Club management
backend/controllers/clubController.js - Venue management
backend/controllers/venueController.js - Attendance
backend/controllers/attendanceController.js - Feedback
backend/controllers/feedbackController.js
Persistence
- MySQL connection pool
backend/config/db.js - MySQL database
Frontend experience
- Frontend entry
frontend/src/main.jsx - Student pages
frontend/src/pages/student - Admin pages
frontend/src/pages/Admin - Login and register UI
frontend/src/pages/Auth - API service modules
frontend/src/services
Other components
- Student
- Admin or faculty
Connections 8
- Express server → Auth routes: mounts auth
backend/server.js - Express server → Event routes: mounts events
backend/server.js - Express server → Registration routes: mounts registrations
backend/server.js - Auth routes → Authentication: dispatches
backend/routes/authRoutes.js - Event routes → Event management: dispatches
backend/routes/eventRoutes.js - Registration routes → Event registration: dispatches
backend/routes/registrationRoutes.js - Event management → MySQL connection pool: queries
backend/controllers/eventController.js - MySQL connection pool → MySQL database: connects
backend/config/db.js