How yomileonel/cvforyou works
CVforYou is a private resume builder. Users register or sign in, create or open a resume, edit its sections and design with a live preview, and export it as a PDF; they can also request an AI job match. Resume data and photos use Supabase, while matching uses OpenAI. The README also documents a 14-template gallery and multilingual UI. Some subsystem details are unsampled, so edges reflect only shown calls or README-documented capabilities.
Main entry points: editor-client.tsx Editor orchestration · page.tsx Resume dashboard · route.ts PDF export route · templates.ts Template catalogue
Components 22
Entry and access
- Login and registration
app/(auth)/login/login-form.tsx - Authentication actions
app/lib/auth-actions.ts - Resume dashboard
app/(app)/dashboard/page.tsx
Resume authoring
- Editor orchestration
app/(app)/editor/editor-client.tsx - Section editing
app/(app)/editor/section-form.tsx - Photo upload
app/(app)/editor/photo-upload.tsx - Section navigation
app/(app)/editor/section-nav.tsx - Live resume preview
app/(app)/editor/resume-preview.tsx - Template catalogue
app/lib/templates.ts
Resume services
- Resume save actions
app/lib/resume-actions.ts - Resume persistence
app/lib/resumes.ts - Supabase Auth, database, storage
app/lib/supabase/server.ts - PDF export route
app/api/resumes/[id]/pdf/route.ts - Resume HTML renderer
app/lib/pdf/render-resume-html.ts - PDF renderer
app/lib/pdf/render-pdf.ts - Job-match actions
app/lib/match-actions.ts - AI match client
app/lib/match/openai-client.ts
Public experience
- Landing page
app/page.tsx - Template gallery
app/vorlagen/template-gallery.tsx - Locale dictionaries
app/lib/i18n/get-dictionary.ts
Other components
- Visitor / user
- OpenAI API
Connections 29
- Visitor / user → Login and registration: signs in
- Login and registration → Authentication actions: submits credentials
app/(auth)/login/login-form.tsx - Authentication actions → Supabase Auth, database, storage: authenticates via
app/lib/auth-actions.ts - Visitor / user → Resume dashboard: opens resumes
app/(app)/dashboard/page.tsx - Resume dashboard → Resume persistence: loads resumes
app/(app)/dashboard/page.tsx - Resume dashboard → Template catalogue: offers templates
app/(app)/dashboard/page.tsx - Resume dashboard → Editor orchestration: opens editor
- Editor orchestration → Section editing: renders editor form
app/(app)/editor/editor-client.tsx - Section editing → Photo upload: renders uploader
app/(app)/editor/section-form.tsx - Editor orchestration → Section navigation: renders navigation
app/(app)/editor/editor-client.tsx - Editor orchestration → Live resume preview: renders preview
app/(app)/editor/editor-client.tsx - Editor orchestration → Template catalogue: selects design
app/(app)/editor/editor-client.tsx - Editor orchestration → Resume save actions: auto-saves changes
app/(app)/editor/editor-client.tsx - Resume save actions → Supabase Auth, database, storage: writes resume
app/lib/resume-actions.ts - Resume persistence → Supabase Auth, database, storage: reads and writes
app/lib/resumes.ts - Editor orchestration → PDF export route: requests PDF
app/(app)/editor/editor-client.tsx - PDF export route → Resume persistence: loads resume
app/api/resumes/[id]/pdf/route.ts - PDF export route → Resume HTML renderer: renders resume HTML
app/api/resumes/[id]/pdf/route.ts - PDF export route → PDF renderer: converts HTML to PDF
app/api/resumes/[id]/pdf/route.ts - Resume HTML renderer → Template catalogue: uses template definitions
app/lib/pdf/render-resume-html.ts - Editor orchestration → Job-match actions: requests job match
app/(app)/editor/editor-client.tsx - Job-match actions → AI match client: runs comparison
app/lib/match-actions.ts - Job-match actions → Supabase Auth, database, storage: checks user quota
app/lib/match-actions.ts - AI match client → OpenAI API: sends match request
app/lib/match/openai-client.ts - Visitor / user → Landing page: discovers product
app/page.tsx - Landing page → Template gallery: links to gallery
app/page.tsx - Template gallery → Template catalogue: displays templates
app/vorlagen/template-gallery.tsx - Landing page → Locale dictionaries: loads localized content
- Editor orchestration → Locale dictionaries: uses translated labels
app/(app)/editor/editor-client.tsx