How 07gautammishra/ai_resume_checker works
Resume Roaster is a full-stack resume analytics and optimization product. Candidates authenticate, upload a PDF, receive parsed resume versions, request ATS and keyword analysis, apply AI rewrites as new versions, compare revisions, and view dashboard and insight metrics; they can also export a polished PDF. The backend serves these capabilities through Express controllers, Gemini and parsing services, and MongoDB models. Frontend-to-API links and several route-to-controller bindings are not shown in the excerpts, so those relationships are left unasserted or marked unverified.
Main entry points: resume.controller.js Resume operations · server.js HTTP server · client.js API client · dashboard.controller.js Dashboard metrics
Components 27
Candidate application
- Web application
frontend/src/App.jsx - Resume workflow
frontend/src/pages/Resumes.jsx - Analysis views
frontend/src/pages/ResumeDetail.jsx - Insights
frontend/src/pages/Insights.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - PDF export
frontend/src/pages/Export.jsx - API client
frontend/src/api/client.js
Backend API
- HTTP server
backend/src/server.js - Auth routes
backend/src/routes/auth.router.js - Authentication
backend/src/controllers/auth.controller.js - Resume operations
backend/src/controllers/resume.controller.js - Dashboard metrics
backend/src/controllers/dashboard.controller.js - Resume insights
backend/src/controllers/insights.controller.js - Activity history
backend/src/controllers/activity.controller.js
Resume processing
- PDF extraction
backend/src/services/pdfService.js - Resume parsing
backend/src/services/structuredParser.js - AI analysis
backend/src/services/geminiService.js - Version comparison
backend/src/services/diffService.js
Identity and persistence
- Session verification
backend/src/middleware/auth.js - JWT utilities
backend/src/utils/jwt.js - User records
backend/src/models/user.model.js - Resume records
backend/src/models/Resume.js - Version records
backend/src/models/ResumeVersion.js - Analysis records
backend/src/models/Analysis.js
Other components
- Candidate
- Gemini API
- MongoDB
Connections 36
- Candidate → Web application: uses
- Web application → Resume workflow: presents
- Web application → Dashboard: presents
- Candidate → PDF export: requests export
- Resume workflow → API client: requests data
- Analysis views → API client: requests data
- Insights → API client: requests data
- Dashboard → API client: requests data
- API client → HTTP server: calls API
- HTTP server → Auth routes: mounts
backend/src/server.js - HTTP server → Resume operations: serves via routes
- HTTP server → Dashboard metrics: serves via routes
- HTTP server → Resume insights: serves via routes
- HTTP server → Activity history: serves via routes
- Auth routes → Authentication: dispatches
backend/src/routes/auth.router.js - Auth routes → Session verification: guards
backend/src/routes/auth.router.js - Authentication → User records: reads and writes
backend/src/controllers/auth.controller.js - Authentication → JWT utilities: signs sessions
backend/src/controllers/auth.controller.js - Session verification → JWT utilities: verifies token
backend/src/middleware/auth.js - Session verification → User records: loads user
backend/src/middleware/auth.js - Resume operations → PDF extraction: extracts text
backend/src/controllers/resume.controller.js - Resume operations → Resume parsing: parses resume
backend/src/controllers/resume.controller.js - Resume operations → AI analysis: requests analysis
backend/src/controllers/resume.controller.js - AI analysis → Gemini API: generates analysis
- Resume operations → Version comparison: compares versions
backend/src/controllers/resume.controller.js - Resume operations → Resume records: reads and writes
backend/src/controllers/resume.controller.js - Resume operations → Version records: reads and writes
backend/src/controllers/resume.controller.js - Resume operations → Analysis records: reads and writes
backend/src/controllers/resume.controller.js - Dashboard metrics → Resume records: reads metrics
backend/src/controllers/dashboard.controller.js - Dashboard metrics → Version records: reads metrics
backend/src/controllers/dashboard.controller.js - Dashboard metrics → Analysis records: reads metrics
backend/src/controllers/dashboard.controller.js - Resume insights → Resume records: reads
backend/src/controllers/insights.controller.js - Resume insights → Analysis records: reads
backend/src/controllers/insights.controller.js - Activity history → Resume records: reads
backend/src/controllers/activity.controller.js - Activity history → Version records: reads
backend/src/controllers/activity.controller.js - Activity history → Analysis records: reads
backend/src/controllers/activity.controller.js