How riyagupta1107/elc-project-management-portal works
This is a university project collaboration platform for students and faculty. Users authenticate, discover project listings, apply, and—after faculty review—join projects; faculty manage listings and applications. Profiles, faculty discovery, notices, notifications, and project chat are supporting capabilities, while faculty can also use an AI-assisted project-description draft. The frontend uses a shared authenticated API client; the Express backend routes requests to controllers and persists domain records in MongoDB. Chat and notifications also use Socket.IO. Some frontend pages and backend subsystems were not excerpted, so their internal links are omitted where evidence is unavailable.
Main entry points: app.js HTTP app · App.jsx Routes and pages · axiosInstance.js API client · applicationController.js Application review
Components 30
Web application
- Routes and pages
frontend/src/App.jsx - Sign in and register
frontend/src/Authentication/Login.jsx - Auth state
frontend/src/context/AuthContext.jsx - API client
frontend/src/api/axiosInstance.js - Project discovery
frontend/src/pages/Projects.jsx - Project details
frontend/src/pages/Student/ProjectDetails.jsx - Student dashboard
frontend/src/pages/Student/StudentDashboard.jsx - Project management
frontend/src/pages/Professor/ManageProject.jsx - Faculty dashboard
frontend/src/pages/Professor/ProfessorDashboard.jsx - Project chat
frontend/src/components/ProjectChat.jsx - Socket state
frontend/src/context/SocketContext.jsx
HTTP backend
- HTTP app
backend/src/app.js - JWT authentication
backend/src/middleware/authMiddleware.js - User operations
backend/src/controllers/userController.js - Project operations
backend/src/controllers/projectController.js - Application review
backend/src/controllers/applicationController.js - Message endpoints
backend/src/routes/messageRoutes.js - Notice operations
backend/src/controllers/noticeController.js - Notification operations
backend/src/controllers/notificationController.js
Platform data
- MongoDB
- User records
backend/src/models/User.js - Project records
backend/src/models/Project.js - Applications
backend/src/models/Application.js - Messages
backend/src/models/Message.js - Notifications
backend/src/models/Notification.js - Notices
backend/src/models/Notice.js
Realtime services
- Socket.IO server
backend/server.js - Socket.IO service
Other components
- Students
- Faculty
Connections 46
- Students → Routes and pages: use
frontend/src/App.jsx - Faculty → Routes and pages: use
frontend/src/App.jsx - Routes and pages → Sign in and register: routes to
frontend/src/App.jsx - Routes and pages → Project discovery: routes to
frontend/src/App.jsx - Routes and pages → Project details: routes to
frontend/src/App.jsx - Routes and pages → Student dashboard: routes to
frontend/src/App.jsx - Routes and pages → Project management: routes to
frontend/src/App.jsx - Routes and pages → Faculty dashboard: routes to
frontend/src/App.jsx - Sign in and register → Auth state: calls
frontend/src/Authentication/Login.jsx - Auth state → API client: calls
frontend/src/context/AuthContext.jsx - Project discovery → API client: calls
frontend/src/pages/Projects.jsx - Project details → API client: calls
frontend/src/pages/Student/ProjectDetails.jsx - Student dashboard → API client: calls
frontend/src/pages/Student/StudentDashboard.jsx - Project management → API client: calls
frontend/src/pages/Professor/ManageProject.jsx - Faculty dashboard → API client: calls
frontend/src/pages/Professor/ProfessorDashboard.jsx - API client → HTTP app: sends API requests
- HTTP app → User operations: routes requests
backend/src/app.js - HTTP app → Project operations: routes requests
backend/src/app.js - HTTP app → Application review: routes requests
backend/src/app.js - HTTP app → Message endpoints: routes requests
backend/src/app.js - HTTP app → Notice operations: routes requests
backend/src/app.js - HTTP app → Notification operations: routes requests
backend/src/app.js - JWT authentication → User records: looks up
backend/src/middleware/authMiddleware.js - Project operations → Project records: reads and writes
backend/src/controllers/projectController.js - Project operations → User records: reads
backend/src/controllers/projectController.js - Project operations → Applications: reads
backend/src/controllers/projectController.js - Application review → Applications: reads and writes
backend/src/controllers/applicationController.js - Application review → Project records: reads and updates
backend/src/controllers/applicationController.js - Application review → User records: reads
backend/src/controllers/applicationController.js - Application review → Notifications: creates
backend/src/controllers/applicationController.js - User operations → User records: reads and writes
backend/src/controllers/userController.js - Notice operations → Notices: reads and writes
backend/src/controllers/noticeController.js - Notice operations → Notifications: uses
backend/src/controllers/noticeController.js - Notification operations → Notifications: reads
backend/src/controllers/notificationController.js - Message endpoints → JWT authentication: authenticates
backend/src/routes/messageRoutes.js - Message endpoints → Project records: checks membership
backend/src/routes/messageRoutes.js - Message endpoints → Applications: checks acceptance
backend/src/routes/messageRoutes.js - Message endpoints → Messages: reads and writes
backend/src/routes/messageRoutes.js - HTTP app → MongoDB: connects
backend/src/app.js - Project chat → Socket state: uses
frontend/src/components/ProjectChat.jsx - Project chat → API client: calls
frontend/src/components/ProjectChat.jsx - Socket state → Socket.IO server: opens socket
frontend/src/context/SocketContext.jsx - Socket.IO server → User records: loads sender
backend/server.js - Socket.IO server → Messages: creates
backend/server.js - Socket.IO server → Socket.IO service: emits messages
backend/server.js - Application review → Socket.IO service: emits alerts
backend/src/controllers/applicationController.js