# sharkri/cv-application architecture

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

- Interactive diagram: https://gitdiagram.com/sharkri/cv-application
- Repository: https://github.com/sharkri/cv-application

## Overview

This is a browser-based CV/resume builder. The user edits personal details and repeatable education and experience entries, can load example data or clear the content, and sees a resume preview update from shared app state. A separate customization view offers layout, font, and accent-color controls. The graph follows the state-owning App and the documented component references; unsampled render and customization modules are included where the source index identifies them, but their internal behavior is not inferred beyond those references.

Main entry points: [`src/App.js`](https://github.com/sharkri/cv-application/blob/main/src/App.js) (App state and handlers), [`src/components/education/AddEducationSection.js`](https://github.com/sharkri/cv-application/blob/main/src/components/education/AddEducationSection.js) (Education editor), [`src/components/experience/AddExperienceSection.js`](https://github.com/sharkri/cv-application/blob/main/src/components/experience/AddExperienceSection.js) (Experience editor), [`src/components/Resume.js`](https://github.com/sharkri/cv-application/blob/main/src/components/Resume.js) (Resume preview composition)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App coordination"]
  node_app["App state and handlers<br/>[App.js]"]
  node_sample_data["Example resume data<br/>[example-data.js]"]
  node_sidebar["Page navigation<br/>[Sidebar.js]"]
  node_template_loader["Load or clear template<br/>[TemplateLoader.js]"]
end

subgraph group_editing["Resume editing"]
  node_personal_editor["Personal details form<br/>[PersonalDetails.js]"]
  node_education_editor["Education editor"]
  node_education_form["Education fields<br/>[EducationForm.js]"]
  node_experience_editor["Experience editor"]
  node_experience_form["Experience fields<br/>[ExperienceForm.js]"]
  node_form_list["Entry form list<br/>[DisplayForms.js]"]
  node_collapsed_form["Collapsed entry view<br/>[CollapsedForm.js]"]
  node_input_group["Reusable input fields<br/>[InputGroup.js]"]
  node_form_buttons["Entry actions<br/>[Buttons.js]"]
  node_create_form["Add entry control<br/>[CreateForm.js]"]
  node_expand_section["Section expander<br/>[ExpandSection.js]"]
end

subgraph group_preview["Resume preview"]
  node_resume["Resume preview composition<br/>[Resume.js]"]
  node_personal_preview["Personal info preview"]
  node_education_preview["Education preview"]
  node_education_item["Education entry display<br/>[EducationInfo.js]"]
  node_experience_preview["Experience preview"]
  node_experience_item["Experience entry display<br/>[ExperienceInfo.js]"]
  node_display_section["Preview section display<br/>[DisplaySection.js]"]
end

subgraph group_customization["Appearance controls"]
  node_customize["Customization panel<br/>[Customize.js]"]
  node_accent["Accent color editor<br/>[AccentColorEdit.js]"]
  node_font["Font editor<br/>[FontEdit.js]"]
  node_columns["Resume columns editor<br/>[ResumeColsEdit.js]"]
end

node_user(("Resume editor user"))

node_user -->|"edits resume"| node_app
node_app -->|"loads defaults"| node_sample_data
node_app -->|"renders navigation"| node_sidebar
node_app -->|"renders controls"| node_template_loader
node_app -->|"renders and updates"| node_personal_editor
node_app -->|"passes entry state"| node_education_editor
node_app -->|"passes entry state"| node_experience_editor
node_app -->|"renders controls"| node_customize
node_app -->|"passes preview state"| node_resume
node_education_editor -->|"renders entries"| node_form_list
node_education_editor -->|"selects form component"| node_education_form
node_education_editor -->|"renders add control"| node_create_form
node_education_editor -->|"renders expander"| node_expand_section
node_experience_editor -->|"renders entries"| node_form_list
node_experience_editor -->|"selects form component"| node_experience_form
node_experience_editor -->|"renders add control"| node_create_form
node_experience_editor -->|"renders expander"| node_expand_section
node_form_list -->|"renders collapsed entries"| node_collapsed_form
node_education_form -->|"renders fields"| node_input_group
node_education_form -->|"renders actions"| node_form_buttons
node_experience_form -->|"renders fields"| node_input_group
node_experience_form -->|"renders actions"| node_form_buttons
node_personal_editor -->|"renders fields"| node_input_group
node_resume -->|"renders section"| node_personal_preview
node_resume -->|"renders section"| node_education_preview
node_resume -->|"renders section"| node_experience_preview
node_education_preview -->|"renders entries"| node_education_item
node_education_preview -->|"uses section display"| node_display_section
node_experience_preview -->|"renders entries"| node_experience_item
node_experience_preview -->|"uses section display"| node_display_section
node_customize -->|"renders editor"| node_accent
node_customize -->|"renders editor"| node_font
node_customize -->|"renders editor"| node_columns

click node_app "https://github.com/sharkri/cv-application/blob/main/src/App.js"
click node_sample_data "https://github.com/sharkri/cv-application/blob/main/src/example-data.js"
click node_sidebar "https://github.com/sharkri/cv-application/blob/main/src/components/Sidebar.js"
click node_template_loader "https://github.com/sharkri/cv-application/blob/main/src/components/TemplateLoader.js"
click node_personal_editor "https://github.com/sharkri/cv-application/blob/main/src/components/personal-info/PersonalDetails.js"
click node_education_editor "https://github.com/sharkri/cv-application/blob/main/src/components/education/AddEducationSection.js"
click node_education_form "https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationForm.js"
click node_experience_editor "https://github.com/sharkri/cv-application/blob/main/src/components/experience/AddExperienceSection.js"
click node_experience_form "https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceForm.js"
click node_form_list "https://github.com/sharkri/cv-application/blob/main/src/components/DisplayForms.js"
click node_collapsed_form "https://github.com/sharkri/cv-application/blob/main/src/components/CollapsedForm.js"
click node_input_group "https://github.com/sharkri/cv-application/blob/main/src/components/InputGroup.js"
click node_form_buttons "https://github.com/sharkri/cv-application/blob/main/src/components/Buttons.js"
click node_create_form "https://github.com/sharkri/cv-application/blob/main/src/components/CreateForm.js"
click node_expand_section "https://github.com/sharkri/cv-application/blob/main/src/components/ExpandSection.js"
click node_resume "https://github.com/sharkri/cv-application/blob/main/src/components/Resume.js"
click node_personal_preview "https://github.com/sharkri/cv-application/blob/main/src/components/personal-info/PersonalInfoSection.js"
click node_education_preview "https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationInfoSection.js"
click node_education_item "https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationInfo.js"
click node_experience_preview "https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceInfoSection.js"
click node_experience_item "https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceInfo.js"
click node_display_section "https://github.com/sharkri/cv-application/blob/main/src/components/DisplaySection.js"
click node_customize "https://github.com/sharkri/cv-application/blob/main/src/components/Customize.js"
click node_accent "https://github.com/sharkri/cv-application/blob/main/src/components/customize/AccentColorEdit.js"
click node_font "https://github.com/sharkri/cv-application/blob/main/src/components/customize/FontEdit.js"
click node_columns "https://github.com/sharkri/cv-application/blob/main/src/components/customize/ResumeColsEdit.js"

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_sample_data,node_sidebar,node_template_loader,node_user toneBlue
class node_personal_editor,node_education_editor,node_education_form,node_experience_editor,node_experience_form,node_form_list,node_collapsed_form,node_input_group,node_form_buttons,node_create_form,node_expand_section toneAmber
class node_resume,node_personal_preview,node_education_preview,node_education_item,node_experience_preview,node_experience_item,node_display_section toneMint
class node_customize,node_accent,node_font,node_columns toneRose
```

## Components

### App coordination

- [App state and handlers](https://github.com/sharkri/cv-application/blob/main/src/App.js): `src/App.js`
- [Example resume data](https://github.com/sharkri/cv-application/blob/main/src/example-data.js): `src/example-data.js`
- [Page navigation](https://github.com/sharkri/cv-application/blob/main/src/components/Sidebar.js): `src/components/Sidebar.js`
- [Load or clear template](https://github.com/sharkri/cv-application/blob/main/src/components/TemplateLoader.js): `src/components/TemplateLoader.js`

### Resume editing

- [Personal details form](https://github.com/sharkri/cv-application/blob/main/src/components/personal-info/PersonalDetails.js): `src/components/personal-info/PersonalDetails.js`
- [Education editor](https://github.com/sharkri/cv-application/blob/main/src/components/education/AddEducationSection.js): `src/components/education/AddEducationSection.js`
- [Education fields](https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationForm.js): `src/components/education/EducationForm.js`
- [Experience editor](https://github.com/sharkri/cv-application/blob/main/src/components/experience/AddExperienceSection.js): `src/components/experience/AddExperienceSection.js`
- [Experience fields](https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceForm.js): `src/components/experience/ExperienceForm.js`
- [Entry form list](https://github.com/sharkri/cv-application/blob/main/src/components/DisplayForms.js): `src/components/DisplayForms.js`
- [Collapsed entry view](https://github.com/sharkri/cv-application/blob/main/src/components/CollapsedForm.js): `src/components/CollapsedForm.js`
- [Reusable input fields](https://github.com/sharkri/cv-application/blob/main/src/components/InputGroup.js): `src/components/InputGroup.js`
- [Entry actions](https://github.com/sharkri/cv-application/blob/main/src/components/Buttons.js): `src/components/Buttons.js`
- [Add entry control](https://github.com/sharkri/cv-application/blob/main/src/components/CreateForm.js): `src/components/CreateForm.js`
- [Section expander](https://github.com/sharkri/cv-application/blob/main/src/components/ExpandSection.js): `src/components/ExpandSection.js`

### Resume preview

- [Resume preview composition](https://github.com/sharkri/cv-application/blob/main/src/components/Resume.js): `src/components/Resume.js`
- [Personal info preview](https://github.com/sharkri/cv-application/blob/main/src/components/personal-info/PersonalInfoSection.js): `src/components/personal-info/PersonalInfoSection.js`
- [Education preview](https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationInfoSection.js): `src/components/education/EducationInfoSection.js`
- [Education entry display](https://github.com/sharkri/cv-application/blob/main/src/components/education/EducationInfo.js): `src/components/education/EducationInfo.js`
- [Experience preview](https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceInfoSection.js): `src/components/experience/ExperienceInfoSection.js`
- [Experience entry display](https://github.com/sharkri/cv-application/blob/main/src/components/experience/ExperienceInfo.js): `src/components/experience/ExperienceInfo.js`
- [Preview section display](https://github.com/sharkri/cv-application/blob/main/src/components/DisplaySection.js): `src/components/DisplaySection.js`

### Appearance controls

- [Customization panel](https://github.com/sharkri/cv-application/blob/main/src/components/Customize.js): `src/components/Customize.js`
- [Accent color editor](https://github.com/sharkri/cv-application/blob/main/src/components/customize/AccentColorEdit.js): `src/components/customize/AccentColorEdit.js`
- [Font editor](https://github.com/sharkri/cv-application/blob/main/src/components/customize/FontEdit.js): `src/components/customize/FontEdit.js`
- [Resume columns editor](https://github.com/sharkri/cv-application/blob/main/src/components/customize/ResumeColsEdit.js): `src/components/customize/ResumeColsEdit.js`

### Other components

- **Resume editor user**

## Connections

- Resume editor user → App state and handlers: edits resume (evidence: `src/App.js`)
- App state and handlers → Example resume data: loads defaults (evidence: `src/App.js`)
- App state and handlers → Page navigation: renders navigation (evidence: `src/App.js`)
- App state and handlers → Load or clear template: renders controls (evidence: `src/App.js`)
- App state and handlers → Personal details form: renders and updates (evidence: `src/App.js`)
- App state and handlers → Education editor: passes entry state (evidence: `src/App.js`)
- App state and handlers → Experience editor: passes entry state (evidence: `src/App.js`)
- App state and handlers → Customization panel: renders controls (evidence: `src/App.js`)
- App state and handlers → Resume preview composition: passes preview state (evidence: `src/App.js`)
- Education editor → Entry form list: renders entries (evidence: `src/components/education/AddEducationSection.js`)
- Education editor → Education fields: selects form component (evidence: `src/components/education/AddEducationSection.js`)
- Education editor → Add entry control: renders add control (evidence: `src/components/education/AddEducationSection.js`)
- Education editor → Section expander: renders expander (evidence: `src/components/education/AddEducationSection.js`)
- Experience editor → Entry form list: renders entries (evidence: `src/components/experience/AddExperienceSection.js`)
- Experience editor → Experience fields: selects form component (evidence: `src/components/experience/AddExperienceSection.js`)
- Experience editor → Add entry control: renders add control (evidence: `src/components/experience/AddExperienceSection.js`)
- Experience editor → Section expander: renders expander (evidence: `src/components/experience/AddExperienceSection.js`)
- Entry form list → Collapsed entry view: renders collapsed entries (evidence: `src/components/DisplayForms.js`)
- Education fields → Reusable input fields: renders fields (evidence: `src/components/education/EducationForm.js`)
- Education fields → Entry actions: renders actions (evidence: `src/components/education/EducationForm.js`)
- Experience fields → Reusable input fields: renders fields (evidence: `src/components/experience/ExperienceForm.js`)
- Experience fields → Entry actions: renders actions (evidence: `src/components/experience/ExperienceForm.js`)
- Personal details form → Reusable input fields: renders fields (evidence: `src/components/personal-info/PersonalDetails.js`)
- Resume preview composition → Personal info preview: renders section (evidence: `src/components/Resume.js`)
- Resume preview composition → Education preview: renders section (evidence: `src/components/Resume.js`)
- Resume preview composition → Experience preview: renders section (evidence: `src/components/Resume.js`)
- Education preview → Education entry display: renders entries (evidence: `src/components/education/EducationInfoSection.js`)
- Education preview → Preview section display: uses section display (evidence: `src/components/education/EducationInfoSection.js`)
- Experience preview → Experience entry display: renders entries (evidence: `src/components/experience/ExperienceInfoSection.js`)
- Experience preview → Preview section display: uses section display (evidence: `src/components/experience/ExperienceInfoSection.js`)
- Customization panel → Accent color editor: renders editor (evidence: `src/components/Customize.js`)
- Customization panel → Font editor: renders editor (evidence: `src/components/Customize.js`)
- Customization panel → Resume columns editor: renders editor (evidence: `src/components/Customize.js`)
