How tamil-webdev/event-bridge works
Event Bridge is a campus club and event platform. Students register or sign in, discover clubs and events, follow clubs, register for activities, and receive notifications; club admins create clubs and publish events. The React app routes users through these activities and calls an Express API backed by MongoDB. The README documents dashboard statistics, location-aware discovery, and image uploads. Some frontend API modules and backend controllers were not sampled, so those feature links rely on README documentation rather than inspected implementation.
Main entry points: App.jsx Route app · server.js Express server · event.controller.js Event operations · user.model.js User records
Components 34
Campus experience
- Route app
Frontend/src/App.jsx - App layout
Frontend/src/componants/Layout.jsx - Account pages
Frontend/src/Pages/LoginPage.jsx - Event dashboard
Frontend/src/Pages/HomePage.jsx - Club discovery
Frontend/src/Pages/ClubsPage.jsx - Club detail
Frontend/src/Pages/Club.jsx - Club creation
Frontend/src/Pages/CreateClub.jsx - Event publishing
Frontend/src/Pages/CreateEvent.jsx - Event editing
Frontend/src/Pages/EditEvent.jsx - Notifications view
Frontend/src/Pages/Notifications.jsx
Frontend API
- HTTP client
Frontend/src/api/api.js - Account API
Frontend/src/api/auth.js - Club API
Frontend/src/api/clubs.js - Event API
Frontend/src/api/event.js - College API
Frontend/src/api/college.js - Notification API
Frontend/src/api/notifications.js
Backend services
- Express server
Backend/server.js - Auth routes
Backend/routes/auth.routes.js - Club routes
Backend/routes/club.routes.js - Event routes
Backend/routes/event.routes.js - College routes
Backend/routes/college.routes.js - Notification routes
Backend/routes/notification.routes.js - Authentication
Backend/controllers/auth.controller.js - Club management
Backend/controllers/club.controller.js - Event operations
Backend/controllers/event.controller.js - College lookup
Backend/controllers/college.controller.js - Notification operations
Backend/controllers/notification.controller.js - JWT verification
Backend/middlewares/auth.middleware.js - Image uploads
Backend/middlewares/upload.middleware.js
Domain data
- User records
Backend/models/user.model.js - Club records
Backend/models/club.model.js - Event records
Backend/models/event.model.js - College records
Backend/models/college.model.js
Other components
- Student or admin
Connections 48
- Student or admin → Route app: uses
README.md - Route app → Account pages: routes to
Frontend/src/App.jsx - Route app → App layout: wraps
Frontend/src/App.jsx - Route app → Event dashboard: routes to
Frontend/src/App.jsx - Route app → Club discovery: routes to
Frontend/src/App.jsx - Route app → Club detail: routes to
Frontend/src/App.jsx - Route app → Club creation: routes to
Frontend/src/App.jsx - Route app → Event publishing: routes to
Frontend/src/App.jsx - Route app → Event editing: routes to
Frontend/src/App.jsx - Route app → Notifications view: routes to
Frontend/src/App.jsx - Account pages → Account API: calls
Frontend/src/Pages/LoginPage.jsx - Event dashboard → Event API: calls
Frontend/src/Pages/HomePage.jsx - Club discovery → Club API: calls
Frontend/src/Pages/ClubsPage.jsx - Club detail → Club API: calls
Frontend/src/Pages/Club.jsx - Club detail → Event API: calls
Frontend/src/Pages/Club.jsx - Club creation → Club API: calls
Frontend/src/Pages/CreateClub.jsx - Club creation → College API: calls
Frontend/src/Pages/CreateClub.jsx - Event publishing → Event API: calls
Frontend/src/Pages/CreateEvent.jsx - Event editing → Event API: calls
Frontend/src/Pages/EditEvent.jsx - Notifications view → Notification API: calls
Frontend/src/Pages/Notifications.jsx - App layout → Account API: reads session
Frontend/src/componants/Layout.jsx - App layout → Notification API: calls
Frontend/src/componants/Layout.jsx - Account API → HTTP client: uses
Frontend/src/api/auth.js - HTTP client → Express server: sends requests
README.md - Express server → Auth routes: mounts
Backend/server.js - Express server → Club routes: mounts
Backend/server.js - Express server → Event routes: mounts
Backend/server.js - Express server → College routes: mounts
Backend/server.js - Express server → Notification routes: mounts
Backend/server.js - Auth routes → Authentication: dispatches
Backend/routes/auth.routes.js - Club routes → Club management: dispatches
Backend/routes/club.routes.js - Event routes → Event operations: dispatches
Backend/routes/event.routes.js - College routes → College lookup: dispatches
Backend/routes/college.routes.js - Notification routes → Notification operations: dispatches
Backend/routes/notification.routes.js - Club routes → JWT verification: checks token
Backend/routes/club.routes.js - Event routes → JWT verification: checks token
Backend/routes/event.routes.js - Notification routes → JWT verification: checks token
Backend/routes/notification.routes.js - Club routes → Image uploads: accepts images
Backend/routes/club.routes.js - Authentication → User records: reads and writes
Backend/controllers/auth.controller.js - Club management → Club records: reads and writes
Backend/controllers/club.controller.js - Club management → User records: updates membership
Backend/controllers/club.controller.js - Club management → College records: checks college
Backend/controllers/club.controller.js - Event operations → Event records: reads and writes
Backend/controllers/event.controller.js - Event operations → Club records: checks club
Backend/controllers/event.controller.js - Event operations → User records: updates registrations
Backend/controllers/event.controller.js - College lookup → College records: reads
Backend/controllers/college.controller.js - Notification operations → User records: reads and updates
Backend/controllers/notification.controller.js - Event operations → User records: notifies followers
Backend/controllers/event.controller.js