How drejtovit/labcourse1 works
This is a role-based recruitment platform: candidates register, maintain resumes, browse jobs and apply; employers publish jobs and review applications; admins moderate platform data and view analytics. Next.js pages and client components provide the interface, route handlers implement the API, and Prisma-backed helpers/authentication form the internal service layer. The README documents several capabilities whose specific handlers or client calls were not sampled; those links are documented rather than inferred from filenames. The report-output vendor assets are peripheral to the product workflow.
Main entry points: db.js Prisma database · auth.js Authentication · route.js Resume detail API · ProfilePageClient.jsx Profile management
Components 26
Web experience
- Portal pages
app/page.jsx - Registration
app/(pages)/register/RegisterClient.jsx - Profile management
app/(pages)/profile/ProfilePageClient.jsx
Recruitment workflows
- Resume management
app/(pages)/resume/create/ResumeCreateClient.jsx - Job browsing
app/(pages)/job/browse/BrowseJobClient.jsx - Job posting
app/(pages)/job/post/PostJobClient.jsx - Applications
app/api/applications/route.js - Employer review
components/applicationsContainer/ApplicationEmployer.jsx
Platform administration
- Admin resume tools
app/(pages)/dashboard/resumes/create/ResumeAdminClient.jsx - Admin dashboard
app/(pages)/dashboard/page.jsx - User moderation
app/api/admin/users/candidates/route.js - Job moderation
app/api/admin/jobs/route.js - Application moderation
app/api/admin/applications/route.js
API and services
- User API
app/api/user/route.js - Profile API
app/api/user/[id]/route.js - Job API
app/api/job/route.js - Resume API
app/api/resume/route.js - Resume detail API
app/api/resume/[id]/route.js
Identity and persistence
- Authentication
lib/auth.js - Resume permissions
lib/actions/resume.js - Prisma database
lib/db.js
Other components
- Candidate
- Employer
- Administrator
- Public visitor
- Cloudinary media
Connections 33
- Public visitor → Portal pages: visits
app/page.jsx - Candidate → Registration: registers
README.md - Candidate → Profile management: manages profile
README.md - Candidate → Resume management: maintains resumes
README.md - Candidate → Job browsing: browses jobs
README.md - Candidate → Applications: submits application
README.md - Employer → Job posting: posts jobs
README.md - Employer → Employer review: reviews applicants
README.md - Administrator → Admin dashboard: views analytics
README.md - Administrator → User moderation: moderates users
README.md - Administrator → Job moderation: moderates jobs
README.md - Administrator → Admin resume tools: manages resumes
README.md - Administrator → Application moderation: moderates applications
README.md - Registration → User API: creates account
README.md - Profile management → Profile API: updates profile
app/(pages)/profile/ProfilePageClient.jsx - Resume management → Resume API: creates resume
README.md - Resume management → Resume detail API: edits resume
README.md - Job posting → Job API: creates listing
README.md - Job browsing → Applications: applies to job
README.md - Employer review → Applications: updates status
README.md - User API → Authentication: checks session
app/api/user/route.js - Job API → Authentication: checks session
app/api/job/route.js - Resume API → Authentication: checks session
app/api/resume/route.js - Resume detail API → Resume permissions: checks permission
app/api/resume/[id]/route.js - Resume detail API → Authentication: checks session
app/api/resume/[id]/route.js - User API → Prisma database: reads and writes
app/api/user/route.js - Profile API → Prisma database: reads and writes
app/api/user/[id]/route.js - Job API → Prisma database: reads and writes
app/api/job/route.js - Resume API → Prisma database: reads and writes
app/api/resume/route.js - Resume detail API → Prisma database: reads and writes
app/api/resume/[id]/route.js - Authentication → Prisma database: uses Prisma
lib/auth.js - Resume permissions → Prisma database: queries resumes
lib/actions/resume.js - Profile management → Cloudinary media: uploads profile image
README.md