How omarkhan56/placement-portal works
Campus Placement Portal coordinates student profiles and internship recommendations, applications and mentor approvals, employer selection, and placement-cell operations and analytics. Users enter through role-based React routes; the Express API handles authentication and domain requests, with MongoDB-backed models and documented email, resume-storage, and caching integrations. The graph preserves the README’s major role workflows. Some controller and integration details are unsampled, so those connections are documented or omitted rather than inferred from names alone.
Main entry points: App.jsx Role-based routes · applicationController.js Application lifecycle · authController.js Authentication logic · Student.js Student profiles
Components 34
Web client
- Role-based routes
frontend/src/App.jsx - Login and registration
frontend/src/pages - Student dashboard
frontend/src/pages/StudentDashboard.jsx - Student profile
frontend/src/components/student/StudentProfile.jsx - Internship discovery
frontend/src/components/student - Application tracking
frontend/src/components/student/ApplicationTracker.jsx - Internship management
frontend/src/components/placement - Mentor review
frontend/src/components/mentor - Candidate selection
frontend/src/components/employer - Analytics dashboard
frontend/src/components/placement/AnalyticsDashboard.jsx - Session context
frontend/src/context/AuthContext.jsx - HTTP client
frontend/src/api/axios.js
API and access
- Express API
backend/app.js - Authentication routes
backend/routes/auth.js - Application routes
backend/routes/application.js - Authentication logic
backend/controllers/authController.js
Placement workflows
- Application lifecycle
backend/controllers/applicationController.js - Internship matching
backend/controllers/internshipController.js - Placement analytics
backend/controllers/analyticsController.js - Recommendation scoring
backend/utils/matchingAlgorithm.js
Domain data and services
- Applications
backend/models/Application.js - Student profiles
backend/models/Student.js - User accounts
backend/models/User.js - Internships
backend/models/Internship.js - Email notifications
backend/config/nodemailer.js - Resume storage
backend/config/cloudinary.js - Cache
backend/config/redis.js - MongoDB
Other components
- Student
- Mentor
- Employer
- Placement cell
- SMTP service
- Cloudinary service
Connections 43
- Student → Role-based routes: uses
README.md - Mentor → Role-based routes: uses
README.md - Employer → Role-based routes: uses
README.md - Placement cell → Role-based routes: uses
README.md - Role-based routes → Session context: provides session
frontend/src/App.jsx - Role-based routes → Login and registration: routes to
frontend/src/App.jsx - Role-based routes → Student dashboard: routes to
frontend/src/App.jsx - Role-based routes → Student profile: routes to
frontend/src/App.jsx - Role-based routes → Internship management: routes to
frontend/src/App.jsx - Role-based routes → Mentor review: routes to
frontend/src/App.jsx - Role-based routes → Candidate selection: routes to
frontend/src/App.jsx - Role-based routes → Analytics dashboard: routes to
frontend/src/App.jsx - Student dashboard → Internship discovery: renders
frontend/src/pages/StudentDashboard.jsx - Student dashboard → Application tracking: renders
frontend/src/pages/StudentDashboard.jsx - Login and registration → HTTP client: requests
frontend/src/pages/StudentDashboard.jsx - Student profile → HTTP client: requests
frontend/src/components/student/StudentProfile.jsx - Student dashboard → HTTP client: requests
frontend/src/pages/StudentDashboard.jsx - HTTP client → Express API: sends API requests
- Express API → Authentication routes: mounts
backend/app.js - Express API → Application routes: mounts
backend/app.js - Authentication routes → Authentication logic: dispatches
backend/routes/auth.js - Application routes → Application lifecycle: dispatches
backend/routes/application.js - Application routes → Authentication logic: protects with
backend/routes/application.js - Authentication routes → Authentication logic: protects profile route
backend/routes/auth.js - Authentication logic → User accounts: reads and writes
backend/controllers/authController.js - Authentication logic → Student profiles: creates profile
backend/controllers/authController.js - Application lifecycle → Applications: creates and updates
backend/controllers/applicationController.js - Application lifecycle → Student profiles: loads student
backend/controllers/applicationController.js - Application lifecycle → Internships: loads internship
backend/controllers/applicationController.js - Application lifecycle → User accounts: loads recipient
backend/controllers/applicationController.js - Application lifecycle → Email notifications: sends notifications
backend/controllers/applicationController.js - Application lifecycle → Cache: invalidates cache
backend/controllers/applicationController.js - Internship matching → Recommendation scoring: uses scoring
backend/controllers/internshipController.js - Internship matching → Student profiles: loads student
backend/controllers/internshipController.js - Internship matching → Internships: loads internships
backend/controllers/internshipController.js - Internship matching → Cache: uses cache
backend/controllers/internshipController.js - Analytics dashboard → Placement analytics: requests metrics
- Placement analytics → MongoDB: reads placement data
- Student profiles → User accounts: references
backend/models/Student.js - Applications → Student profiles: references
backend/models/Application.js - Applications → Internships: references
backend/models/Application.js - Email notifications → SMTP service: sends mail
README.md - Resume storage → Cloudinary service: stores resumes
README.md