How reorx/jsoncv works
Main Components Overview
• Schema System
• Editor Interface
• CV HTML Generator
• Converters
• Build System
Detailed Component Breakdown
• JSON Schema (draft-07)
• Custom extensions (sideProjects, meta.name)
• Validation layer
• Left Panel: Navigation Sidebar
• Middle Panel: Schema Form
• Right Panel: Live Preview
• Local Storage Integration
• Theme Engine
• Template Processor
• Style Processor
• Build Pipeline
• Vite Configuration
• Asset Processing
• Bundle Generation
User Input -> Editor Interface
• ↓
Schema Validation
• ↓
Local Storage <-> Editor State
• ↓
Template Processing -> Theme Application
• ↓
Final HTML/CSS Generation
• ↓
Export Options (HTML/PDF)
Key Design Patterns to Highlight
a. Component Architecture:
• Modular theme system
• Converter pipeline
• Demonstrate the template rendering flow
b. Data Flow:
• JSON data validation path
• Theme application process
• Export pipeline
Implementation Details
a. File Structure Organization:
• src/
• editor/
• lib/
• preview/
• themes/
• converters/
• schema/
b. Build Process Flow:
• Development server
• Production build
• Static site generation