How paidisettilokesh/resulens-vr2 works
ResuLens is a career-intelligence web app: a job seeker submits a resume and receives analysis and related career tools. The frontend holds user and resume state, sends requests to an Express API, and displays results. The backend routes work to AI services and persists history and resume data. README-documented capabilities are included even where route or view implementations were not excerpted; those links cite the README rather than implying unsampled call details.
Main entry points: App.jsx App and navigation · aiService.js AI orchestration · server.js Express API · routes Career feature routes
Components 25
User experience
- App and navigation
frontend/src/App.jsx - Authentication UI
frontend/src/components/Auth.jsx - Analysis results
frontend/src/components/AnalysisView.jsx - Interview coach
frontend/src/components/InterviewCoach.jsx - Skills and market
frontend/src/components/SkillsTab.jsx - Resume builder
frontend/src/components/ResumeBuilder.jsx - Career tools
frontend/src/components/OptimizeTab.jsx - Resume state and requests
frontend/src/context/ResumeContext.jsx - User session state
frontend/src/context/UserContext.jsx - HTTP client
frontend/src/utils/apiClient.js
API and workflows
- Express API
backend/server.js - Authentication routes
backend/routes/auth.js - Resume analysis route
backend/routes/analyze.js - Career feature routes
backend/routes - Builder suggestions
backend/routes/builder.js
AI intelligence
- AI orchestration
backend/utils/aiService.js - Resume text extraction
backend/utils/extractText.js - Deterministic scoring
backend/utils/scoringEngine.js
Identity and state
- Analysis history manager
backend/utils/historyManager.js - Analysis records
backend/models/Analysis.js - User records
backend/models/User.js - MongoDB
backend/config/db.js - Local JSON storage
backend/utils/storage.js
Other components
- Job seeker
- Groq and OpenRouter
Connections 35
- Job seeker → App and navigation: uses
- App and navigation → Authentication UI: renders
frontend/src/App.jsx - App and navigation → Analysis results: renders
frontend/src/App.jsx - App and navigation → Interview coach: renders
frontend/src/App.jsx - App and navigation → Skills and market: renders
frontend/src/App.jsx - App and navigation → Resume builder: offers
- App and navigation → Career tools: offers
- App and navigation → Resume state and requests: uses
frontend/src/App.jsx - App and navigation → User session state: uses
frontend/src/App.jsx - Resume state and requests → User session state: reads session
frontend/src/context/ResumeContext.jsx - Resume state and requests → HTTP client: sends requests
frontend/src/context/ResumeContext.jsx - User session state → HTTP client: uses
frontend/src/context/UserContext.jsx - HTTP client → Express API: calls API
frontend/src/utils/apiClient.js - Express API → Authentication routes: mounts
backend/server.js - Express API → Resume analysis route: mounts
backend/server.js - Express API → Career feature routes: mounts feature APIs
backend/server.js - Express API → Builder suggestions: mounts
backend/server.js - Authentication routes → User records: authenticates users
backend/routes/auth.js - Resume analysis route → AI orchestration: requests analysis
backend/routes/analyze.js - Resume analysis route → Analysis history manager: records analysis
backend/routes/analyze.js - Career feature routes → AI orchestration: provides AI tools
backend/routes/analyze.js - Builder suggestions → AI orchestration: requests suggestions
backend/routes/builder.js - AI orchestration → Resume text extraction: extracts text
backend/utils/aiService.js - AI orchestration → Deterministic scoring: calculates scores
backend/utils/aiService.js - AI orchestration → Groq and OpenRouter: routes prompts
- Analysis history manager → Analysis records: reads and writes
backend/utils/historyManager.js - Analysis history manager → MongoDB: checks readiness
backend/utils/historyManager.js - Analysis history manager → Local JSON storage: uses fallback
backend/utils/historyManager.js - Authentication routes → MongoDB: waits for connection
backend/routes/auth.js - User records → MongoDB: persists users
- Analysis results → Resume state and requests: displays results
- Interview coach → Career feature routes: uses interview tools
- Skills and market → Career feature routes: uses skills insights
- Resume builder → Builder suggestions: requests suggestions
- Career tools → Career feature routes: uses career tools