How lingamalisha/ai-resume-checker works
SmartResume AI is a resume-analysis web app. Users register or sign in, reach a protected dashboard, upload a resume with a job description, and view analysis feedback, match score, skill gaps, and a generated cover letter; they can revisit saved analyses or download a PDF report. The backend excerpt shows PDF text extraction, Gemini analysis, and resume-history endpoints. Evidence is incomplete for upload-client calls, persistence wiring, and some OAuth response details, so those connections are omitted or marked unverified.
Main entry points: index.js API server · App.jsx App routes · LoginPage.jsx Login and signup · AuthContext.jsx Auth state
Components 18
Web experience
- App routes
src/App.jsx - Dashboard
src/App.jsx - Resume upload
src/components/UploadSection.jsx - Analysis results
src/components/ResultsDashboard.jsx - PDF report
src/lib/reportGenerator.js
Identity
- Login and signup
src/components/auth/LoginPage.jsx - OAuth callback
src/components/auth/OAuthCallback.jsx - Route guard
src/components/auth/ProtectedRoute.jsx - Auth state
src/context/AuthContext.jsx
Resume analysis
- API server
server/index.js - PDF extraction
server/index.js - Gemini analysis
server/index.js
Persistence
- User model
server/models/User.js - Resume model
server/models/Resume.js - SQLite initializer
server/db.js
Other components
- Candidate
- Google OAuth
- GitHub OAuth
Connections 21
- Candidate → App routes: uses
src/App.jsx - App routes → Login and signup: routes to
src/App.jsx - App routes → Dashboard: routes to
src/App.jsx - App routes → OAuth callback: routes to
src/App.jsx - App routes → Route guard: protects route
src/App.jsx - Dashboard → Resume upload: renders
src/App.jsx - Dashboard → Analysis results: renders
src/App.jsx - Analysis results → PDF report: generates report
src/components/ResultsDashboard.jsx - Login and signup → Auth state: calls login
src/components/auth/LoginPage.jsx - Route guard → Auth state: reads auth state
src/components/auth/ProtectedRoute.jsx - Auth state → API server: posts credentials
src/context/AuthContext.jsx - Login and signup → API server: starts OAuth
src/components/auth/LoginPage.jsx - API server → Google OAuth: redirects to
server/index.js - API server → GitHub OAuth: redirects to
server/index.js - OAuth callback → Dashboard: navigates to
src/components/auth/OAuthCallback.jsx - Resume upload → API server: submits resume
- API server → PDF extraction: extracts text
server/index.js - API server → Gemini analysis: requests analysis
server/index.js - API server → User model: queries users
server/index.js - API server → Resume model: reads and writes
server/index.js - API server → Dashboard: serves history
server/index.js