# delterio/curriculoai architecture

> Architecture diagram of the GitHub repository delterio/curriculoai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/delterio/curriculoai
- Repository: https://github.com/delterio/curriculoai

## Overview

CurriculoAI is a browser-based AI résumé builder. Users provide résumé details or upload a document, add a target job description, generate a tailored résumé and career tip with Gemini, then review and edit the result before printing it as a PDF. App.tsx coordinates the workflow; the uploader encodes files, the service makes AI requests, and the preview supports edits. The sampled files show these connections; other implementation details are not inferred.

Main entry points: [`App.tsx`](https://github.com/delterio/curriculoai/blob/main/App.tsx) (Workflow and inputs), [`services/geminiService.ts`](https://github.com/delterio/curriculoai/blob/main/services/geminiService.ts) (Résumé and tip generation), [`types.ts`](https://github.com/delterio/curriculoai/blob/main/types.ts) (Résumé data types), [`components/FileUploader.tsx`](https://github.com/delterio/curriculoai/blob/main/components/FileUploader.tsx) (Document uploader)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Résumé workflow"]
  node_app["Workflow and inputs<br/>[App.tsx]"]
  node_uploader["Document uploader<br/>[FileUploader.tsx]"]
  node_preview["Résumé editor and preview<br/>[ResumePreview.tsx]"]
  node_entry["React entry point<br/>[index.tsx]"]
end

subgraph group_ai["AI generation"]
  node_service["Résumé and tip generation<br/>[geminiService.ts]"]
end

subgraph group_model["Shared data model"]
  node_types["Résumé data types<br/>[types.ts]"]
end

node_user(("Job seeker"))
node_gemini["Google Gemini"]

node_user -->|"enters details"| node_app
node_entry -->|"mounts"| node_app
node_app -->|"renders"| node_uploader
node_uploader -->|"returns file"| node_app
node_app -->|"requests resume"| node_service
node_app -->|"requests tip"| node_service
node_service -->|"generates content"| node_gemini
node_app -->|"renders result"| node_preview
node_preview -->|"returns edits"| node_app
node_app -->|"uses data types"| node_types
node_uploader -->|"creates file data"| node_types
node_preview -->|"edits résumé data"| node_types
node_service -->|"returns résumé data"| node_types

click node_app "https://github.com/delterio/curriculoai/blob/main/App.tsx"
click node_uploader "https://github.com/delterio/curriculoai/blob/main/components/FileUploader.tsx"
click node_preview "https://github.com/delterio/curriculoai/blob/main/components/ResumePreview.tsx"
click node_entry "https://github.com/delterio/curriculoai/blob/main/index.tsx"
click node_service "https://github.com/delterio/curriculoai/blob/main/services/geminiService.ts"
click node_types "https://github.com/delterio/curriculoai/blob/main/types.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_uploader,node_preview,node_entry toneBlue
class node_service toneAmber
class node_types toneMint
class node_user,node_gemini toneIndigo
```

## Components

### Résumé workflow

- [Workflow and inputs](https://github.com/delterio/curriculoai/blob/main/App.tsx): `App.tsx`
- [Document uploader](https://github.com/delterio/curriculoai/blob/main/components/FileUploader.tsx): `components/FileUploader.tsx`
- [Résumé editor and preview](https://github.com/delterio/curriculoai/blob/main/components/ResumePreview.tsx): `components/ResumePreview.tsx`
- [React entry point](https://github.com/delterio/curriculoai/blob/main/index.tsx): `index.tsx`

### AI generation

- [Résumé and tip generation](https://github.com/delterio/curriculoai/blob/main/services/geminiService.ts): `services/geminiService.ts`

### Shared data model

- [Résumé data types](https://github.com/delterio/curriculoai/blob/main/types.ts): `types.ts`

### Other components

- **Job seeker**
- **Google Gemini**

## Connections

- Job seeker → Workflow and inputs: enters details (evidence: `App.tsx`)
- React entry point → Workflow and inputs: mounts (evidence: `index.tsx`)
- Workflow and inputs → Document uploader: renders (evidence: `App.tsx`)
- Document uploader → Workflow and inputs: returns file (evidence: `App.tsx`)
- Workflow and inputs → Résumé and tip generation: requests resume (evidence: `App.tsx`)
- Workflow and inputs → Résumé and tip generation: requests tip (evidence: `App.tsx`)
- Résumé and tip generation → Google Gemini: generates content (evidence: `services/geminiService.ts`)
- Workflow and inputs → Résumé editor and preview: renders result (evidence: `App.tsx`)
- Résumé editor and preview → Workflow and inputs: returns edits (evidence: `App.tsx`)
- Workflow and inputs → Résumé data types: uses data types (evidence: `App.tsx`)
- Document uploader → Résumé data types: creates file data (evidence: `components/FileUploader.tsx`)
- Résumé editor and preview → Résumé data types: edits résumé data (evidence: `components/ResumePreview.tsx`)
- Résumé and tip generation → Résumé data types: returns résumé data (evidence: `services/geminiService.ts`)
