How youssef5107/careerpulse works
This is a two-sided recruiting and job-search application. Job seekers discover and save postings, manage profiles, apply, and respond to interviews; employers publish jobs, review applicants, maintain company profiles, and schedule interviews. Next.js pages and API routes implement these workflows, with authentication, Prisma persistence, Redis caching, and Redux UI state behind them. The README is only the default Next.js template; capability labels here come from the repository tree and sampled source. Some page-to-API connections are not evidenced in the available excerpts, so they are omitted.
Main entry points: auth.ts Authentication · prisma.ts Prisma client · route.ts Employer posts API · hooks.ts Typed Redux hooks
Components 32
Job discovery
- Search and browse
app/jobseeker/search/page.tsx - Job seeker home
app/jobseeker/home/page.tsx - Search bar
app/jobseeker/components/SearchBar.tsx - Recently viewed
app/jobseeker/components/RecentlyViewed.tsx - Job details
app/jobseeker/jobs/[id]/page.tsx - Save job
app/jobseeker/components/SaveJobButton.tsx - Saved jobs
app/jobseeker/components/BookmarkIcon.tsx
Employer tools
- Create job posting
app/employer/post-job/job-details/page.tsx - Manage postings
app/employer/postings/page.tsx - Review applicants
app/employer/applicants/[applicant-id]/page.tsx - Company profile
app/employer/company-profile/page.tsx
Applications and career
- Job seeker profile
app/jobseeker/profile/page.tsx - Apply for job
app/jobseeker/components/ApplyButton.tsx - Applications API
app/api/applications/route.ts - Interview management
app/components/InterviewsPage.tsx - Interviews API
app/api/interviews/route.ts
Application services
- Sign-in and signup
actions/auth.ts - Authentication
lib/auth.ts - Auth configuration
auth.config.ts - Job search API
app/api/jobs/route.ts - Employer posts API
app/api/employer/posts/route.ts - Profile API
app/api/profile/route.ts - Company profile API
app/api/company-profile/route.ts - Prisma client
lib/prisma.ts - Application database
neon.ts - Redis cache
lib/redis.ts
Client state
- Typed Redux hooks
store/hooks.ts - Toast state
store/features/toast/toastSlice.ts - Postings state
store/features/postings/postingsSlice.ts - Job form state
store/features/jobPost/jobPostSlice.ts
Other components
- Job seeker
- Employer
Connections 45
- Job seeker → Job seeker home: uses
- Job seeker home → Search bar: renders
app/jobseeker/home/page.tsx - Job seeker home → Recently viewed: renders
app/jobseeker/home/page.tsx - Job seeker → Search and browse: searches
- Search and browse → Saved jobs: renders
app/jobseeker/search/page.tsx - Job seeker → Job details: views
- Job details → Apply for job: renders
app/jobseeker/jobs/[id]/page.tsx - Job details → Save job: renders
app/jobseeker/jobs/[id]/page.tsx - Job seeker → Applications API: submits application
- Applications API → Authentication: authenticates
app/api/applications/route.ts - Applications API → Prisma client: creates application
- Employer → Create job posting: creates posting
- Create job posting → Employer posts API: submits posting
- Manage postings → Employer posts API: loads postings
- Employer posts API → Authentication: authenticates
app/api/employer/posts/route.ts - Employer posts API → Prisma client: reads and writes
app/api/employer/posts/route.ts - Employer posts API → Redis cache: caches postings
app/api/employer/posts/route.ts - Employer → Review applicants: reviews candidates
- Employer → Interview management: manages interviews
- Job seeker → Interview management: responds to interviews
- Interview management → Toast state: dispatches toast
app/components/InterviewsPage.tsx - Interviews API → Authentication: authenticates
app/api/interviews/route.ts - Interviews API → Prisma client: reads and writes
app/api/interviews/route.ts - Job seeker → Job seeker profile: maintains profile
- Profile API → Authentication: authenticates
app/api/profile/route.ts - Profile API → Prisma client: reads and writes
app/api/profile/route.ts - Employer → Company profile: maintains company profile
- Company profile API → Authentication: authenticates
app/api/company-profile/route.ts - Company profile API → Prisma client: reads and writes
app/api/company-profile/route.ts - Company profile API → Redis cache: caches profile
app/api/company-profile/route.ts - Search and browse → Job search API: loads jobs
- Job search API → Prisma client: queries jobs
app/api/jobs/route.ts - Job search API → Redis cache: reads cache
app/api/jobs/route.ts - Sign-in and signup → Authentication: signs in
actions/auth.ts - Sign-in and signup → Prisma client: creates user
actions/auth.ts - Authentication → Auth configuration: uses config
lib/auth.ts - Authentication → Prisma client: uses adapter
lib/auth.ts - Typed Redux hooks → Postings state: types state
- Typed Redux hooks → Toast state: types state
- Apply for job → Typed Redux hooks: uses hooks
app/jobseeker/components/ApplyButton.tsx - Apply for job → Toast state: dispatches toast
app/jobseeker/components/ApplyButton.tsx - Saved jobs → Typed Redux hooks: uses hooks
app/jobseeker/components/BookmarkIcon.tsx - Saved jobs → Toast state: dispatches toast
app/jobseeker/components/BookmarkIcon.tsx - Save job → Typed Redux hooks: uses hooks
app/jobseeker/components/SaveJobButton.tsx - Save job → Toast state: dispatches toast
app/jobseeker/components/SaveJobButton.tsx