How vineoy/resumebuilderapp works
Main Components
• Frontend:
• Built in React.js with clear separation into pages (e.g., Home, About, Contact, GenerateResume, Resume, LandingPage, etc.) and reusable components (e.g., Navbar).
• Utilizes Tailwind CSS and DaisyUI for styling.
• Uses React Router for client-side navigation.
• Communicates with the backend using Axios.
• Manages assets like CSS (App.css, index.css) and static files (index.html).
• Backend:
• Implemented in Spring Boot (as a separate repo, per the README).
• Contains REST API endpoints (e.g., GET /api/resumes, POST /api/resumes/generate, etc.).
• Integrates with the Ollama local AI model for generating resumes.
• Uses JSON file storage for data persistence.
• Handles PDF generation utilizing PDF.js, which is called from the frontend.
• External Services and Libraries:
• Ollama local AI model for resume generation.
• PDF.js for converting resume templates to downloadable PDFs.
• Axios for API communications.
• Other build/configuration tools (Vite, ESLint, PostCSS, Tailwind, and DaisyUI).
Relationships and Interactions
• The frontend (React.js) and backend (Spring Boot) interact through well-defined REST endpoints.
• User interactions on the frontend trigger API calls (using Axios) to the backend.
• The backend processes resume requests by invoking the Ollama local AI model, stores results in JSON files, and provides data back to the frontend.
• The frontend then displays the resume and offers options for editing and downloading (using PDF.js).
Architectural Patterns and Design Principles
• Separation of Concerns: Clean division between the frontend and backend components.
• RESTful API Design: The backend communicates using REST, with endpoints dedicated to resume creation, retrieval, and deletion.
• Client-Side Routing: Managed using React Router to navigate between different pages without a full page reload.
• Modular Design: Both the frontend (with its pages and components structure) and backend are organized for maintainability and scalability.
Technologies and Frameworks
• Frontend: React.js, Tailwind CSS, DaisyUI, React Router, Axios, Vite.
• Backend: Spring Boot, Spring Web.
• Additional: Ollama local AI model, JSON file based storage, and PDF.js.