How ikramjournal/careerbridge works
CareerBridge is a job portal connecting candidates, employers, and administrators. The main workflow is: candidates discover vacancies, maintain a profile, and apply; employers publish jobs, review applicants with transparent keyword matching, schedule interviews, and update application status; candidates can then view status and notifications. The map also includes account access, administration, AI-assisted utilities, and the shared MySQL layer. Relationships are limited to README-described workflows and source-index or excerpt evidence; unsampled page-to-route wiring is not asserted.
Main entry points: db.ts MySQL database · login/route.ts Account access API · applications/route.ts Applications API · status/route.ts Application status API
Components 34
Candidate experience
- Job search
src/app/jobs/page.tsx - Job details
src/app/jobs/[id]/page.tsx - Candidate dashboard
src/app/candidate/page.tsx - Saved jobs
src/app/candidate/saved-jobs/page.tsx - CV builder
src/app/cv-builder/page.tsx - Candidate profile API
src/app/api/profile/route.ts - Applications API
src/app/api/applications/route.ts - Saved jobs API
src/app/api/saved-jobs/route.ts - Notifications
src/app/notifications/page.tsx
Employer hiring
- Employer dashboard
src/app/employer/page.tsx - Job creation
src/app/employer/jobs/new/page.tsx - Job management API
src/app/api/jobs/route.ts - Applicant review
src/app/employer/jobs/[id]/applicants/page.tsx - Application status API
src/app/api/applications/status/route.ts - Interview scheduling API
src/app/api/interviews/route.ts - Keyword match API
src/app/api/ats/route.ts
Identity and administration
- Account access API
src/app/api/auth/login/route.ts - Sessions and identity
src/backend/auth.ts - Request security
src/backend/security.ts - OAuth routes
src/app/api/auth/oauth/[provider]/route.ts - OAuth configuration
src/backend/oauth.ts - Admin dashboard
src/app/admin/page.tsx - Admin management APIs
src/app/api/admin
Shared services
- Keyword scoring
src/backend/ats.ts - AI utility routes
src/app/api/ai - AI utilities
src/backend/ai.ts - Email delivery
src/backend/email.ts - Rate limiting
src/backend/rate-limit.ts - MySQL database
src/backend/db.ts
Other components
- Candidate
- Employer
- Administrator
- OAuth providers
- SMTP service
Connections 41
- Candidate → Job search: searches
- Job search → Job details: opens listing
- Candidate → Candidate dashboard: manages profile
- Candidate → CV builder: builds CV
- Candidate → Saved jobs: saves listings
- Candidate → Notifications: views updates
- Candidate dashboard → Candidate profile API: saves profile
- Job details → Applications API: submits application
- Saved jobs → Saved jobs API: updates saved list
- Applications API → Keyword scoring: scores candidate
src/app/api/applications/route.ts - Applications API → MySQL database: reads and writes
src/app/api/applications/route.ts - Candidate profile API → MySQL database: reads and writes
src/app/api/profile/route.ts - Saved jobs API → MySQL database: reads and writes
src/app/api/saved-jobs/route.ts - Employer → Employer dashboard: manages hiring
- Employer dashboard → Job creation: creates vacancy
- Job creation → Job management API: publishes job
- Job management API → MySQL database: writes vacancy
src/app/api/jobs/route.ts - Employer → Applicant review: reviews applicants
- Applicant review → Keyword match API: views match results
- Keyword match API → Keyword scoring: scores applicants
src/app/api/ats/route.ts - Keyword match API → MySQL database: reads applicants
src/app/api/ats/route.ts - Employer → Application status API: updates status
- Application status API → MySQL database: updates application
src/app/api/applications/status/route.ts - Application status API → Email delivery: optionally emails
src/app/api/applications/status/route.ts - Employer → Interview scheduling API: schedules interview
src/app/api/interviews/route.ts - Interview scheduling API → MySQL database: writes interview
src/app/api/interviews/route.ts - Administrator → Admin dashboard: reviews platform
- Admin dashboard → Admin management APIs: manages records
- Admin management APIs → MySQL database: reads and writes
src/app/api/admin/users/route.ts - Candidate → Account access API: signs in
- Employer → Account access API: signs in
- Account access API → Sessions and identity: creates session
src/app/api/auth/login/route.ts - Account access API → Request security: checks requests
src/app/api/auth/login/route.ts - Account access API → Rate limiting: limits attempts
src/app/api/auth/login/route.ts - Sessions and identity → MySQL database: reads sessions
src/backend/auth.ts - Request security → Sessions and identity: checks user
src/backend/security.ts - OAuth routes → OAuth configuration: configures provider
src/app/api/auth/oauth/[provider]/route.ts - OAuth configuration → OAuth providers: uses endpoints
src/backend/oauth.ts - AI utility routes → AI utilities: requests assistance
src/app/api/ai/job-description/route.ts - AI utilities → OAuth providers: calls Gemini
src/backend/ai.ts - Email delivery → SMTP service: sends email