How 08mdsaif/ai-resume-builder works
AI Resume Builder is a full-stack application for creating and managing resumes. Users enter through the web app, sign in, create or select a resume, edit its structured sections, and review a reorderable, themed preview that can be printed. The backend exposes resume CRUD APIs backed by MongoDB. The README also describes AI service hooks and authentication. Frontend-to-backend calls and AI invocation paths are not shown in the sampled source, so those links are marked unverified rather than asserted.
Main entry points: main.jsx App entry and routes · index.jsx Resume editor route · ResumePreview.jsx Preview and print · index.js Express API server
Components 23
Web application
- App entry and routes
ResumeBuilder/src/main.jsx - App shell and auth gate
ResumeBuilder/src/App.jsx - Sign-in
ResumeBuilder/src/auth/sign-in/index.jsx
Resume authoring
- Resume dashboard
ResumeBuilder/src/dashboard/index.jsx - Resume cards and creation
ResumeBuilder/src/dashboard/components/AddResume.jsx - Resume editor route
ResumeBuilder/src/dashboard/resume/[resumeId]/edit/index.jsx - Section forms
ResumeBuilder/src/dashboard/resume/components/forms - Section selection
ResumeBuilder/src/dashboard/resume/components/ResumeComponentSelector.jsx - Resume editing state
ResumeBuilder/src/context/ResumeInfoContext.jsx - Preview and print
ResumeBuilder/src/dashboard/resume/components/ResumePreview.jsx - Section previews
ResumeBuilder/src/dashboard/resume/components/preview - Resume templates
ResumeBuilder/src/dashboard/resume/components/preview/templates - Themes and styles
ResumeBuilder/src/dashboard/resume/themes/index.jsx
AI services
- AI service hooks
ResumeBuilder/service - Google AI service
Resume API
- Express API server
Backend/index.js - Resume routes
Backend/routes/resumeRoute.js - Resume CRUD handlers
Backend/controllers/ResumeController.js - Resume read handlers
Backend/controllers/GetResume.js
Persistence
- Resume document model
Backend/models/ResumeModel.js - Database connection
Backend/config/database.js
Other components
- Resume creator
- MongoDB
Connections 27
- Resume creator → App entry and routes: opens app
README.md - App entry and routes → App shell and auth gate: mounts routes
ResumeBuilder/src/main.jsx - App entry and routes → Sign-in: routes to
ResumeBuilder/src/main.jsx - App entry and routes → Resume dashboard: routes to
ResumeBuilder/src/main.jsx - App shell and auth gate → Sign-in: redirects unauthenticated
ResumeBuilder/src/App.jsx - Resume creator → Resume dashboard: manages resumes
README.md - Resume dashboard → Resume cards and creation: renders
ResumeBuilder/src/dashboard/index.jsx - App entry and routes → Resume editor route: routes to
ResumeBuilder/src/main.jsx - Resume editor route → Section forms: edits sections
- Resume editor route → Section selection: configures sections
- Resume editor route → Resume editing state: uses state
ResumeBuilder/src/dashboard/resume/[resumeId]/edit/index.jsx - Resume editor route → Preview and print: renders
ResumeBuilder/src/dashboard/resume/[resumeId]/edit/index.jsx - Preview and print → Section previews: renders sections
ResumeBuilder/src/dashboard/resume/components/ResumePreview.jsx - Preview and print → Resume templates: selects template
ResumeBuilder/src/dashboard/resume/components/ResumePreview.jsx - Preview and print → Themes and styles: reads theme
ResumeBuilder/src/dashboard/resume/components/ResumePreview.jsx - Resume creator → Preview and print: prints resume
ResumeBuilder/src/dashboard/resume/components/ResumePreview.jsx - Resume creator → AI service hooks: requests assistance
- AI service hooks → Google AI service: calls model
- Resume creator → Express API server: uses resume APIs
- Express API server → Resume routes: mounts routes
Backend/index.js - Resume routes → Resume CRUD handlers: routes mutations
Backend/routes/resumeRoute.js - Resume routes → Resume read handlers: routes reads
Backend/routes/resumeRoute.js - Resume CRUD handlers → Resume document model: creates and updates
Backend/controllers/ResumeController.js - Resume read handlers → Resume document model: queries
Backend/controllers/GetResume.js - Express API server → Database connection: connects database
Backend/index.js - Database connection → MongoDB: connects
Backend/config/database.js - Resume document model → MongoDB: stores documents