How utkarshsomvanshi45/hireflow works
HireFlow is a job board and hiring-management platform. Candidates discover jobs, apply with resume information, and track application status; employers post and manage listings, review applicants, and advance them through a hiring pipeline. The graph follows the React client’s service layer into the Express API, then to persistence and resume storage. README capabilities are included where implementation excerpts are incomplete; the duplicated frontend trees and unsampled routes limit certainty about some individual page-to-service links.
Main entry points: applications.routes.ts Application routes · prisma.ts Prisma data access · jobs.service.ts Job service · applications.service.ts Application service
Components 25
Candidate and employer experience
- Web app routes
src/routes/index.tsx - Job details
src/routes/jobs.$id.tsx - Candidate applications
src/routes/_candidate.applications.tsx - Candidate profile
src/routes/_candidate.profile.tsx - Employer job management
src/routes/_employer.jobs.index.tsx - Hiring pipeline
src/routes/_employer.jobs.$id.pipeline.tsx - Sign-in and registration
src/routes/login.tsx
Client services
- Job service
src/services/jobs.service.ts - Application service
src/services/applications.service.ts - Auth service
src/services/auth.service.ts - Demo session state
src/services/session.service.ts - API client
src/services/api-client.ts
Express API
- Express application
backend/src/app.ts - Application routes
backend/src/routes/applications.routes.ts - Application workflows
backend/src/controllers/applications.controller.ts - Job workflows
backend/src/controllers/jobs.controller.ts - Account workflows
backend/src/controllers/auth.controller.ts - Authentication and roles
backend/src/middlewares/auth.ts - Request validation
backend/src/middlewares/validate.ts - Resume upload checks
backend/src/middlewares/upload.ts
Persistence and files
- Resume storage
backend/src/services/storage.service.ts - Prisma data access
backend/src/db/prisma.ts - PostgreSQL
Other components
- Candidate
- Employer
Connections 25
- Candidate → Web app routes: uses
README.md - Employer → Web app routes: uses
README.md - Web app routes → Job service: loads listings
src/routes/index.tsx - Job details → Job service: loads job
- Candidate applications → Application service: tracks applications
- Candidate profile → Application service: manages resume
- Employer job management → Job service: manages listings
- Hiring pipeline → Application service: updates status
src/routes/_employer.jobs.$id.pipeline.tsx - Sign-in and registration → Auth service: authenticates
- Auth service → API client: sends requests
src/services/auth.service.ts - Auth service → Demo session state: updates session
src/services/auth.service.ts - Job service → API client: sends requests
src/services/jobs.service.ts - Application service → API client: sends requests
src/services/applications.service.ts - API client → Express application: HTTP requests
README.md - Express application → Application routes: routes requests
backend/src/app.ts - Application routes → Application workflows: dispatches
backend/src/routes/applications.routes.ts - Application routes → Authentication and roles: guards routes
backend/src/routes/applications.routes.ts - Application routes → Request validation: validates input
backend/src/routes/applications.routes.ts - Application routes → Resume upload checks: checks uploads
backend/src/routes/applications.routes.ts - Application workflows → Prisma data access: reads and writes
backend/src/controllers/applications.controller.ts - Application workflows → Resume storage: handles resumes
backend/src/controllers/applications.controller.ts - Authentication and roles → Prisma data access: loads sessions
backend/src/middlewares/auth.ts - Account workflows → Prisma data access: reads and writes
backend/src/controllers/auth.controller.ts - Job workflows → Prisma data access: reads and writes
backend/src/controllers/jobs.controller.ts - Prisma data access → PostgreSQL: queries
README.md