How utkarshgupta05/ai_resumebuilder works
ResumeForge AI is a resume-building product: users sign in, create or upload a resume, edit and preview it, and use template, AI-optimization, and ATS-scoring features. The repository contains a React client and an Express/MongoDB backend. The graph follows the documented client-to-API boundary and source-indexed backend routes; several feature-specific route/controller links and frontend page internals were not sampled, so those connections are omitted rather than inferred.
Main entry points: app.js Express app and routing · pages Product pages · authRoutes.js Authentication routes · authController.js Authentication handlers
Components 31
Client experience
- React app and routes
src/App.jsx - Product pages
src/pages - Resume editor and preview
src/pages/ResumeBuilder.jsx - Template gallery
src/pages/Templates.jsx - AI optimizer
src/pages/AIOptimizer.jsx - Resume upload
src/pages/UploadResume.jsx - Shared UI components
src/components/ui/Button.jsx
Client state and API
- Authentication state
src/context/AuthContext.jsx - Resume state
src/context/ResumeContext.jsx - HTTP client
src/services/api.js
HTTP application
- Express app and routing
server/app.js - Authentication routes
server/routes/authRoutes.js - Resume routes
server/routes/resumeRoutes.js - AI routes
server/routes/aiRoutes.js - MongoDB connection
server/config/db.js - Error handling
server/middleware/errorHandler.js
Identity and profiles
- Authentication handlers
server/controllers/authController.js - Bearer authentication
server/middleware/auth.js - Profile handlers
server/controllers/userController.js - User records
server/models/User.js - Google identity verification
server/services/googleAuthService.js
Resume workflows
- Resume handlers
server/controllers/resumeController.js - Resume records
server/models/Resume.js - Resume normalization
server/services/resumeNormalizer.js - PDF and DOCX parsing
server/services/parser
Analysis and integrations
- AI handlers
server/controllers/aiController.js - Gemini AI service
server/services/geminiService.js - ATS scoring engine
server/services/atsService.js - Cloudinary uploads
server/services/cloudinaryService.js - Template handlers
server/controllers/templateController.js
Other components
- ResumeForge user
Connections 29
- ResumeForge user → React app and routes: uses
- React app and routes → Product pages: routes to
src/App.jsx - Product pages → Shared UI components: renders
src/pages/ResumePreview.jsx - Product pages → Authentication state: uses auth
- Resume editor and preview → Resume state: edits resumes
- Authentication state → HTTP client: calls
src/context/AuthContext.jsx - Resume state → HTTP client: calls
src/context/ResumeContext.jsx - HTTP client → Express app and routing: sends requests
- Express app and routing → Authentication routes: mounts
server/app.js - Express app and routing → Resume routes: mounts
server/app.js - Express app and routing → AI routes: mounts
server/app.js - Authentication routes → Authentication handlers: dispatches
server/routes/authRoutes.js - Resume routes → Resume handlers: dispatches
server/routes/resumeRoutes.js - AI routes → AI handlers: dispatches
server/routes/aiRoutes.js - Authentication routes → Bearer authentication: guards routes
server/routes/authRoutes.js - Authentication handlers → User records: reads and writes
server/controllers/authController.js - Authentication handlers → Google identity verification: verifies identity
server/controllers/authController.js - Profile handlers → User records: reads and writes
server/controllers/userController.js - Bearer authentication → User records: loads user
server/middleware/auth.js - Resume handlers → Resume records: reads and writes
server/controllers/resumeController.js - Resume handlers → Resume normalization: normalizes sections
server/controllers/resumeController.js - Resume upload → PDF and DOCX parsing: uploads resume
- AI handlers → Gemini AI service: calls
server/controllers/aiController.js - Template gallery → Template handlers: loads templates
- Express app and routing → MongoDB connection: checks connection
server/app.js - Resume editor and preview → Resume records: persists via API
- AI optimizer → ATS scoring engine: uses scoring
- Resume upload → Cloudinary uploads: profile image uploads
- Express app and routing → Error handling: handles errors
server/app.js