How dhananjaylab/resume_app works
1. This repo is a two-part application: a React/Vite frontend and a Spring Boot backend. The frontend handles resume editing and presentation; the backend owns resume standardization, AI-driven enrichment, and DOCX generation.
2. The frontend lives in resume-standardizer-fe. It is a single-page app composed of section-level components such as ProfessionalSummary, ProfessionalExperience, ProjectExperience, EducationAndQualifications, CertificationsAndCourses, Awards, Credits, and MiscellaneousData. ResumeEditor appears to be the central orchestration component that assembles these sections into an editable resume view.
3. The frontend data model is structured rather than freeform. src/models/FormatterStructured.js suggests the UI consumes a normalized resume shape, which is important for rendering, editing, and sending a consistent payload to the backend.
4. The frontend also includes SeeOriginal and FullPageSpinner, which indicate two key UI states: viewing the source/original resume content and waiting for backend processing. That implies the app has an asynchronous flow where AI parsing or formatting may take time.
5. The backend lives in resume-standardizer-be and is a Spring Boot service. ResumeController is the main API boundary for resume operations, StatusController exposes health/status, and FrontendController likely supports serving the SPA or routing browser requests back to the React app.
6. The backend domain is modeled explicitly in model/ with classes like ResumeData, Headers, Education, WorkExperience, ProjectExperience, ProjectDetail, Certification, Credit, SkillRequest, and SkillResponse. This is the core contract between the frontend, the service layer, and any AI/document-generation steps.
7. ResumeService is the main orchestration layer. Based on the surrounding files, it likely coordinates parsing/standardization, AI calls for skill extraction or normalization, and transformation into the final structured resume model. DownloadService handles export, most likely turning the structured data into a DOCX file.
8. The backend’s document-generation boundary is materialized by src/main/resources/Maveric_Template.docx. That template is a key architectural asset: the system is not generating resumes from scratch, but filling a predesigned Word template to produce a stable, compatible output.
9. AI integration is isolated enough to have its own error type: GeminiException. The presence of templates/skillPrompt.txt strongly suggests the backend sends prompt text to an LLM for skill extraction, normalization, or enhancement, and then maps the response into SkillResponse/ResumeData.
10. Cross-cutting error handling is centralized in exceptions/ExceptionHandlers.java, which means controller and service failures are meant to be converted into consistent API responses rather than leaking raw exceptions to the UI.
11. WebConfig suggests backend-wide HTTP configuration such as CORS and possibly SPA routing support. ApplicationStartupListener indicates some initialization work at boot, likely loading templates, warming services, or preparing runtime state.
12. There is no database in the file tree, so the architecture appears stateless and file/template driven. Persistence is likely limited to in-memory processing and generated downloads, which simplifies deployment but means the backend is a transformation pipeline rather than a CRUD service.
13. Operationally, the project is set up for containerless scripting and CI/CD: both subprojects have GitLab CI files, and the backend includes Maven wrapper plus start.sh/stop.sh/restart.sh, while the frontend includes Vite tooling and build scripts. The runtime split is standard JVM for the backend and Node.js for the frontend.
14. For an architecture diagram, the main flow is: user interacts with the React editor → frontend sends structured resume data or source content to the Spring API → backend optionally calls an AI provider for normalization/skill extraction → backend merges results into the resume model → DOCX is generated from the Word template → the finished file is returned to the browser for download.
Main entry points: ResumeEditor.jsx Resume editor · ResumeService.java Resume service · ResumeController.java Resume API · App.jsx App shell
Components 21
React/Vite UI
Single-page resume editor and presentation layer
- App shell · Top-level frontend composition and routing shell
resume-standardizer-fe/src/App.jsx - Resume editor · Central editable resume view that assembles section components
resume-standardizer-fe/src/components/ResumeEditor.jsx - Summary · Professional summary editing/viewing section
resume-standardizer-fe/src/components/ProfessionalSummary.jsx - Experience · Professional experience section
resume-standardizer-fe/src/components/ProfessionalExperience.jsx - Projects · Project experience section
resume-standardizer-fe/src/components/ProjectExperience.jsx - Education · Education and qualifications section
resume-standardizer-fe/src/components/EducationAndQualifications.jsx - Extras · Certifications, awards, credits, and miscellaneous resume sections
- Loading state · Full-page waiting state during backend processing
resume-standardizer-fe/src/components/FullPageSpinner.jsx - Original view · Displays the source or original resume content
resume-standardizer-fe/src/components/SeeOriginal.jsx - Structured model · Normalized frontend data shape used for editing and API payloads
resume-standardizer-fe/src/models/FormatterStructured.js
Spring Boot API
Resume transformation, AI enrichment, and DOCX export
- Resume API · Main API boundary for resume standardization and export
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/controller/ResumeController.java - Status API · Health and status endpoint
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/controller/StatusController.java - Frontend bridge · Serves the SPA or supports browser routing
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/controller/FrontendController.java - Resume service · Coordinates parsing, AI enrichment, normalization, and model assembly
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/service/ResumeService.java - Download service · Generates downloadable resume output from structured data
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/service/DownloadService.java - Domain models · Structured resume and skill request/response classes
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/model/ResumeData.java - AI prompt · Prompt template and AI-specific error boundary for skill enrichment
resume-standardizer-be/src/main/resources/templates/skillPrompt.txt - DOCX template · Word template used to render the final resume output
resume-standardizer-be/src/main/resources/Maveric_Template.docx - Error handling · Converts backend failures into consistent API responses
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/exceptions/ExceptionHandlers.java - Web config · HTTP and SPA-related backend configuration
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/WebConfig.java - Startup listener · Application startup initialization logic
resume-standardizer-be/src/main/java/com/example/ExampleApiDemo/ApplicationStartupListener.java
Connections 20
- App shell → Resume editor: renders · App shell composes the main editing experience
- Resume editor → Summary: includes · Editor assembles the summary section
- Resume editor → Experience: includes · Editor assembles the experience section
- Resume editor → Projects: includes · Editor assembles the projects section
- Resume editor → Education: includes · Editor assembles the education section
- Resume editor → Extras: includes · Editor assembles additional sections
- Resume editor → Structured model: binds · UI edits a normalized resume structure
- Resume editor → Resume API: submits · Structured resume content is sent for processing
- Original view → Resume editor: alternate view · Original content is shown alongside the editor flow
- Loading state → Resume API: waits for · Loading state reflects asynchronous backend work
- Resume API → Resume service: delegates · Controller forwards resume operations to the orchestration layer
- Resume service → Domain models: maps to · Service assembles and transforms structured resume data
- Resume service → AI prompt: prompts · Service uses LLM prompt text for enrichment or normalization
- Resume service → Download service: exports · Service hands structured data to the document exporter
- Download service → DOCX template: fills · Exporter renders the final DOCX from the Word template
- Resume service → Error handling: raises · Service failures are normalized through backend exception handling
- Resume API → Status API: exposes · Status endpoint provides service health visibility
- Frontend bridge → App shell: serves · Backend supports browser delivery of the SPA
- Web config → Frontend bridge: supports · Configuration likely handles routing and cross-origin behavior
- Startup listener → Resume service: initializes · Startup hook prepares application state for resume processing