How techsign-dev/campushire-enterprise-placement-drive-screening-shortlisting-engine works
CampusHire manages campus recruitment from account access and academic profiles through drive eligibility screening, applications, shortlisting, and interview scheduling; authorized users then review analytics and reports. The React pages call the Express API, whose route handlers own domain operations and persist records in MongoDB. The graph preserves documented capabilities, but unsampled page and controller internals limit evidence for some links; those branches are shown at their documented API boundaries.
Main entry points: server.js API server and routing · App.jsx React app routes · applicationController.js Applications and shortlisting · screeningService.js Eligibility screening
Components 33
Web application
- React app routes
frontend/src/App.jsx - Session context
frontend/src/context/AuthContext.jsx - API client
frontend/src/services/api.js - Login and registration
frontend/src/pages/Login.jsx - Student profile
frontend/src/pages/StudentProfile.jsx - Drive management
frontend/src/pages/Drives.jsx - Screening
frontend/src/pages/Screening.jsx - Interview scheduling
frontend/src/pages/InterviewScheduling.jsx
Identity and profiles
- Authentication API
backend/controllers/authController.js - Student profiles
backend/controllers/studentController.js
Recruitment workflow
- Company profiles
backend/controllers/companyController.js - Placement drives
backend/controllers/driveController.js - Eligibility screening
backend/services/screeningService.js - Applications and shortlisting
backend/controllers/applicationController.js - Interview rounds and slots
backend/controllers/interviewController.js
Operations and insights
- User administration
backend/controllers/adminController.js - Recruitment analytics
backend/controllers/analyticsController.js - Reports and exports
backend/controllers/reportController.js
Data and integrations
- API server and routing
backend/server.js - Authentication and roles
backend/middleware/authMiddleware.js - Database connection
backend/config/db.js - Users
backend/models/User.js - Student records
backend/models/Student.js - Company records
backend/models/Company.js - Drive records
backend/models/Drive.js - Coding assessments
backend/models/Assessment.js - Application records
backend/models/Application.js - Interview batches
backend/models/InterviewBatch.js - Interview slots
backend/models/InterviewSlot.js - Email notifications
backend/services/emailService.js
Other components
- User
- MongoDB
- SMTP service
Connections 48
- User → React app routes: uses
README.md - React app routes → Session context: provides session
frontend/src/App.jsx - React app routes → Login and registration: routes to
frontend/src/App.jsx - React app routes → Student profile: routes to
frontend/src/App.jsx - React app routes → Drive management: routes to
frontend/src/App.jsx - React app routes → Screening: routes to
frontend/src/App.jsx - React app routes → Interview scheduling: routes to
frontend/src/App.jsx - Session context → API client: calls
frontend/src/context/AuthContext.jsx - Login and registration → Session context: authenticates via
- Student profile → API client: requests data
frontend/src/pages/StudentProfile.jsx - Drive management → API client: requests data
frontend/src/pages/Drives.jsx - Screening → API client: requests screening
frontend/src/pages/Screening.jsx - Interview scheduling → API client: requests scheduling
frontend/src/pages/InterviewScheduling.jsx - API client → API server and routing: sends API requests
- API server and routing → Database connection: connects
backend/server.js - API server and routing → Authentication API: routes auth
backend/server.js - API server and routing → Student profiles: routes students
backend/server.js - API server and routing → Company profiles: routes companies
backend/server.js - API server and routing → Placement drives: routes drives
backend/server.js - API server and routing → Applications and shortlisting: routes applications
backend/server.js - API server and routing → Interview rounds and slots: routes interviews
backend/server.js - API server and routing → Recruitment analytics: routes analytics
backend/server.js - API server and routing → User administration: routes admin
backend/server.js - API server and routing → Reports and exports: routes reports
backend/server.js - Authentication API → Users: reads and writes
backend/controllers/authController.js - Student profiles → Users: reads
backend/controllers/studentController.js - Student profiles → Student records: reads and writes
backend/controllers/studentController.js - Company profiles → Company records: reads and writes
backend/controllers/companyController.js - Placement drives → Company records: reads
backend/controllers/driveController.js - Placement drives → Drive records: reads and writes
backend/controllers/driveController.js - Applications and shortlisting → Drive records: reads
backend/controllers/applicationController.js - Applications and shortlisting → Users: reads
backend/controllers/applicationController.js - Applications and shortlisting → Coding assessments: writes
backend/controllers/applicationController.js - Applications and shortlisting → Eligibility screening: invokes
backend/controllers/applicationController.js - Eligibility screening → Users: reads
backend/services/screeningService.js - Eligibility screening → Student records: reads
backend/services/screeningService.js - Eligibility screening → Coding assessments: reads
backend/services/screeningService.js - Eligibility screening → Drive records: reads
backend/services/screeningService.js - Eligibility screening → Application records: updates eligibility
backend/services/screeningService.js - Applications and shortlisting → Application records: reads and updates
backend/controllers/applicationController.js - Applications and shortlisting → Email notifications: sends shortlist notice
backend/controllers/applicationController.js - Email notifications → SMTP service: delivers via
- Interview rounds and slots → Drive records: reads
backend/controllers/interviewController.js - Interview rounds and slots → Application records: reads and updates
backend/controllers/interviewController.js - Interview rounds and slots → Interview batches: creates and reads
backend/controllers/interviewController.js - Interview rounds and slots → Interview slots: creates and updates
backend/controllers/interviewController.js - User administration → Users: manages
- Recruitment analytics → Application records: summarizes