How burakorkmez/ai-resume-builder works
Veyro is a resume-building web app with editing, AI-assisted improvement and job tailoring, resume management, and paid Pro billing. The main workflow runs from dashboard creation to resume editing and review; client state autosaves through server actions to persistent storage. Sign-in and subscription management are supporting branches. Several modules are represented from the source index and README-level product context; their internal behavior was not sampled, so uncertain connections are omitted.
Main entry points: store.ts Client state and autosave · editor.tsx Resume editor · actions.ts Server actions · billing.ts Billing service
Components 24
Resume experience
- Resume dashboard
components/app/dashboard.tsx - Resume editor
components/editor/editor.tsx - Resume form
components/editor/form.tsx - Suggestion review
components/editor/review.tsx - Resume rendering
components/resume-document.tsx - Client state and autosave
lib/store.ts - Resume model
lib/resume.ts
Accounts and billing
- Authentication
lib/auth.ts - Auth API route
app/api/auth/[...path]/route.ts - Account settings
components/app/account.tsx - Billing management
components/app/billing.tsx - Billing service
lib/billing.ts - Polar webhook
app/api/webhooks/polar/route.ts - Sign-in page
app/auth/sign-in/page.tsx - Auth client
lib/auth-client.ts
Application services
- Server actions
lib/actions.ts - Postgres data access
lib/db.ts - AI resume service
functions/ai.ts
Public site
- Landing page
app/page.tsx - Landing hero
components/landing/hero.tsx - Sample resume
components/landing/sample-resume.tsx
Other components
- Visitor
- AI function endpoint
- Polar payments
Connections 29
- Visitor → Landing page: visits
app/page.tsx - Landing page → Landing hero: renders
app/page.tsx - Landing page → Sample resume: renders
app/page.tsx - Visitor → Resume dashboard: opens app
- Resume dashboard → Client state and autosave: manages resumes
components/app/dashboard.tsx - Resume editor → Client state and autosave: edits and requests AI
components/editor/editor.tsx - Resume editor → Resume form: renders
components/editor/editor.tsx - Resume editor → Suggestion review: renders
components/editor/editor.tsx - Resume editor → Resume rendering: previews
components/editor/editor.tsx - Resume dashboard → Resume rendering: previews
components/app/dashboard.tsx - Suggestion review → Client state and autosave: submits decisions
components/editor/review.tsx - Client state and autosave → Server actions: saves and loads
lib/store.ts - Server actions → Postgres data access: reads and writes
lib/actions.ts - Server actions → Authentication: resolves session
lib/actions.ts - Server actions → Billing service: checks subscription
lib/actions.ts - Server actions → AI function endpoint: sends AI request
lib/actions.ts - AI function endpoint → AI resume service: runs
- Client state and autosave → Resume model: uses data types
lib/store.ts - Resume editor → Resume model: uses resume model
components/editor/editor.tsx - Resume form → Resume model: uses resume model
components/editor/form.tsx - Resume rendering → Resume model: formats resume data
components/resume-document.tsx - Sign-in page → Auth client: uses
app/auth/sign-in/page.tsx - Auth API route → Authentication: routes to
app/api/auth/[...path]/route.ts - Account settings → Client state and autosave: reads account state
components/app/account.tsx - Billing management → Client state and autosave: reads billing state
components/app/billing.tsx - Polar webhook → Billing service: syncs subscription
app/api/webhooks/polar/route.ts - Billing service → Postgres data access: reads and writes
lib/billing.ts - Billing management → Polar payments: starts checkout
- Billing service → Polar payments: creates checkout