How surendrakumarpatel/jobportal-yt works
JobPortal supports student job discovery, applications, profiles and recruiter management of companies, jobs and applicants. The frontend routes users into these workflows; the backend exposes authenticated API routes, applies controller logic and persists users, companies, jobs and applications. The application and job controller excerpts show the application lifecycle and job operations. Most frontend data-fetching components and several backend modules were not excerpted, so their unverified runtime connections are omitted; documented-by-index imports are used only where they establish wiring.
Main entry points: App.jsx Route application · index.js Express API · Navbar.jsx Navigation and logout · user.controller.js User operations
Components 27
Frontend experience
- Route application
frontend/src/App.jsx - Home experience
frontend/src/components/Home.jsx - Job browsing
frontend/src/components/Jobs.jsx - Job detail
frontend/src/components/JobDescription.jsx - Student profile
frontend/src/components/Profile.jsx - Sign-in and signup
frontend/src/components/auth - Recruiter workspace
frontend/src/components/admin - Navigation and logout
frontend/src/components/shared/Navbar.jsx
Identity and companies
- User routes
backend/routes/user.route.js - Company routes
backend/routes/company.route.js - User operations
backend/controllers/user.controller.js - Company operations
backend/controllers/company.controller.js - User records
backend/models/user.model.js - Company records
backend/models/company.model.js
Job discovery and hiring
- Job routes
backend/routes/job.route.js - Application routes
backend/routes/application.route.js - Job operations
backend/controllers/job.controller.js - Application operations
backend/controllers/application.controller.js - Job records
backend/models/job.model.js - Application records
backend/models/application.model.js
Backend platform
- Express API
backend/index.js - JWT authentication
backend/middlewares/isAuthenticated.js - Image processing
backend/middlewares/mutler.js - File URI conversion
backend/utils/datauri.js - Cloudinary media
backend/utils/cloudinary.js - MongoDB connection
backend/utils/db.js
Other components
- Portal user
Connections 34
- Portal user → Route application: uses routes
frontend/src/App.jsx - Route application → Home experience: routes to
frontend/src/App.jsx - Route application → Job browsing: routes to
frontend/src/App.jsx - Route application → Job detail: routes to
frontend/src/App.jsx - Route application → Student profile: routes to
frontend/src/App.jsx - Route application → Sign-in and signup: routes to
frontend/src/App.jsx - Route application → Recruiter workspace: routes to
frontend/src/App.jsx - Home experience → Navigation and logout: renders
frontend/src/components/Home.jsx - Job browsing → Navigation and logout: renders
frontend/src/components/Jobs.jsx - Student profile → Navigation and logout: renders
frontend/src/components/Profile.jsx - Recruiter workspace → Navigation and logout: renders
frontend/src/components/admin/AdminJobs.jsx - Navigation and logout → User routes: requests logout
frontend/src/components/shared/Navbar.jsx - Express API → MongoDB connection: connects
backend/index.js - Express API → User routes: mounts routes
backend/index.js - Express API → Company routes: mounts routes
backend/index.js - Express API → Job routes: mounts routes
backend/index.js - Express API → Application routes: mounts routes
backend/index.js - User routes → User operations: dispatches
backend/routes/user.route.js - Company routes → Company operations: dispatches
backend/routes/company.route.js - Job routes → Job operations: dispatches
backend/routes/job.route.js - Application routes → Application operations: dispatches
backend/routes/application.route.js - User routes → JWT authentication: guards requests
backend/routes/user.route.js - Company routes → JWT authentication: guards requests
backend/routes/company.route.js - Job routes → JWT authentication: guards requests
backend/routes/job.route.js - Application routes → JWT authentication: guards requests
backend/routes/application.route.js - User operations → User records: reads and writes
backend/controllers/user.controller.js - Company operations → Company records: reads and writes
backend/controllers/company.controller.js - Job operations → Job records: reads and writes
backend/controllers/job.controller.js - Application operations → Application records: reads and writes
backend/controllers/application.controller.js - Application operations → Job records: reads and updates
backend/controllers/application.controller.js - User operations → File URI conversion: converts uploads
backend/controllers/user.controller.js - Company operations → File URI conversion: converts uploads
backend/controllers/company.controller.js - User operations → Cloudinary media: uploads media
backend/controllers/user.controller.js - Company operations → Cloudinary media: uploads media
backend/controllers/company.controller.js