How leodo3105/jobportal works
JobPortal is a three-role recruitment platform: candidates discover jobs and apply; employers publish listings and process applications; administrators manage platform records. The graph follows the candidate-to-employer workflow and preserves company, profile/CV, saved-job, dashboard, notification, chat, administration, and scheduled-task capabilities documented in the README. Source excerpts establish several backend controller-to-model relationships; frontend/API and some backend wiring are represented only where the README documents the capability. Other unsampled implementation details are intentionally not inferred.
Main entry points: routes HTTP API routes · Job.js Job records · Company.js Company records · applicationController.js Application lifecycle
Components 27
Web experience
- Job discovery and apply
frontend/src/app/jobs/page.tsx - Employer workspace
frontend/src/app/employer/page.tsx - Admin workspace
frontend/src/app/admin/page.tsx - Company directory
frontend/src/app/companies/page.tsx - HTTP API routes
backend/src/routes
Identity and profiles
- Accounts and sessions
backend/src/controllers/auth/authController.js - User records
backend/src/models/User.js - Candidate profile and CV
backend/src/controllers/jobseeker/profileController.js - Candidate profile records
backend/src/models/jobseeker/Profile.js
Recruitment workflow
- Job listings and search
backend/src/controllers/job/jobController.js - Job records
backend/src/models/job/Job.js - Employer company
backend/src/controllers/employer/companyController.js - Company records
backend/src/models/employer/Company.js - Application lifecycle
backend/src/controllers/job/applicationController.js - Application records
backend/src/models/job/Application.js - Saved jobs
backend/src/controllers/job/savedJobController.js
Platform operations
- Role dashboards
backend/src/controllers/dashboardController.js - Notifications
backend/src/controllers/notification/notificationController.js - Messaging
backend/src/controllers/chat/messageController.js - Platform administration
backend/src/controllers/admin/adminController.js - Job categories
backend/src/controllers/category/categoryController.js - Scheduled updates
backend/src/jobs/scheduledTasks.js - MongoDB
- Email delivery
Other components
- Candidate
- Employer
- Administrator
Connections 40
- Candidate → Job discovery and apply: searches and applies
- Employer → Employer workspace: manages hiring
- Administrator → Admin workspace: manages platform
- Job discovery and apply → HTTP API routes: uses API
- Employer workspace → HTTP API routes: uses API
- Admin workspace → HTTP API routes: uses API
- Company directory → HTTP API routes: uses API
- HTTP API routes → Accounts and sessions: routes requests
- Accounts and sessions → User records: reads and updates
backend/src/controllers/auth/authController.js - Accounts and sessions → Email delivery: sends reset mail
backend/src/controllers/auth/authController.js - HTTP API routes → Candidate profile and CV: routes requests
backend/src/routes/jobseeker/profileRoutes.js - Candidate profile and CV → Candidate profile records: reads and updates
backend/src/controllers/jobseeker/profileController.js - HTTP API routes → Application lifecycle: routes requests
backend/src/routes/job/applicationRoutes.js - Application lifecycle → Application records: creates and updates
backend/src/controllers/job/applicationController.js - Application lifecycle → Job records: checks listing
backend/src/controllers/job/applicationController.js - Application lifecycle → Candidate profile records: loads candidate profile
backend/src/controllers/job/applicationController.js - Application lifecycle → Notifications: creates updates
backend/src/controllers/job/applicationController.js - HTTP API routes → Role dashboards: routes requests
backend/src/routes/dashboardRoutes.js - Role dashboards → Job records: aggregates listings
backend/src/controllers/dashboardController.js - Role dashboards → Application records: counts applications
backend/src/controllers/dashboardController.js - Role dashboards → Company records: loads company
backend/src/controllers/dashboardController.js - Role dashboards → Candidate profile records: reads profiles
backend/src/controllers/dashboardController.js - Platform administration → User records: manages users
backend/src/controllers/admin/adminController.js - Platform administration → Job records: manages listings
backend/src/controllers/admin/adminController.js - Platform administration → Company records: manages companies
backend/src/controllers/admin/adminController.js - Platform administration → Job categories: manages categories
backend/src/controllers/category/categoryController.js - Scheduled updates → Job records: expires listings
- Scheduled updates → Company records: resets subscriptions
- Scheduled updates → Notifications: notifies employers
- Messaging → Notifications: creates message alerts
backend/src/controllers/chat/messageController.js - Job listings and search → Job records: queries listings
- Employer company → Company records: reads and updates
backend/src/controllers/employer/companyController.js - Employer company → Job records: counts open jobs
backend/src/controllers/employer/companyController.js - Job categories → Job records: updates category names
backend/src/controllers/category/categoryController.js - Job categories → Company records: updates category names
backend/src/controllers/category/categoryController.js - Saved jobs → MongoDB: persists saved jobs
- Job records → MongoDB: persists listings
- Application records → MongoDB: persists applications
- Company records → MongoDB: persists companies
- User records → MongoDB: persists users