How dynocoder/lazy-resume-editor works
Project type and purpose
• This is a full-stack web application (“Lazy Resume Editor”) that lets users edit HTML/CSS resumes in real time, preview changes live, and export the result as a PDF.
• The frontend is a React/Vite single-page application with Monaco Editor integration. The backend is a Python Flask service exposing REST endpoints and orchestrating PDF export (and potentially AI-powered enhancements via OpenAI).
File structure
• Top-level directories:
• backend/ – Flask application
• frontend/ – React single-page app (Vite)
• Backend substructure:
• app.py – entry point
• app/config.py – configuration (e.g., OpenAI API keys)
• app/routes/ – Flask route handlers (context_engine.py, resume.py)
• app/services/ – business logic (resume_service.py)
• Frontend substructure:
• public/ – static assets (index.html)
• src/ – React components, CSS, data fixtures, main.jsx
• components/ – UI modules (AIEdit, FileExplorer, ResumeUploader, DirectTextEditor, APIKeyModal)
• data/initialFiles.js & sampleFiles.js – initial file system tree
• Infrastructure:
• frontend/nginx.conf – static file server config
• Docker Compose (referenced in README)
README for additional insights
• Real-time editing powered by Monaco Editor
• Live preview pane served by Nginx (or directly via React dev server)
• Export to PDF functionality (likely triggered by a backend endpoint)
• Uses Docker Compose to spin up both services together