# sahilnegii31/resumeiq architecture

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

- Interactive diagram: https://gitdiagram.com/sahilnegii31/resumeiq
- Repository: https://github.com/sahilnegii31/resumeiq

## Overview

ResumeIQ is a browser-based resume analyzer. A user uploads a PDF and may enter a job description; the app extracts PDF text, sends it with the description to Groq for ATS-style analysis, and displays a score and feedback. The page also presents product guidance, feature copy, and upload controls, and includes a hold-to-delete control. The sampled source shows the analysis request and UI composition; it does not show a server-side storage layer. The README is only the default React/Vite template, so product capabilities here are evidenced by the sampled source.

Main entry points: [`src/components/Home.jsx`](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Home.jsx) (Analyzer page), [`src/App.jsx`](https://github.com/sahilnegii31/resumeiq/blob/main/src/App.jsx) (Analysis controller), [`src/main.jsx`](https://github.com/sahilnegii31/resumeiq/blob/main/src/main.jsx) (React entry), [`src/components/Circularscore.jsx`](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Circularscore.jsx) (Analysis report)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Analysis workflow"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Analysis controller<br/>[App.jsx]"]
  node_pdf_extract["PDF text extraction<br/>[App.jsx]"]
end

subgraph group_interface["User interface"]
  node_home["Analyzer page<br/>[Home.jsx]"]
  node_score["Analysis report<br/>[Circularscore.jsx]"]
  node_filetrack["Selected file display<br/>[Filetrack.jsx]"]
  node_hold_delete["Hold-to-delete control<br/>[HoldButton.jsx]"]
end

subgraph group_content["Page content"]
  node_navbar["Navigation bar<br/>[Navbar.jsx]"]
  node_hero["Hero section<br/>[Hero.jsx]"]
  node_page_copy["Workflow and features<br/>[data.js]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

node_visitor(("Resume owner"))
node_pdfjs["PDF.js"]
node_groq["Groq AI API"]

node_visitor -->|"uses controls"| node_home
node_entry -->|"renders"| node_app
node_app -->|"renders with state"| node_home
node_home -->|"forwards file and analysis"| node_app
node_app -->|"extracts text"| node_pdf_extract
node_pdf_extract -->|"reads PDF pages"| node_pdfjs
node_app -->|"requests analysis"| node_groq
node_home -->|"renders result"| node_score
node_home -->|"renders file status"| node_filetrack
node_home -->|"renders control"| node_hold_delete
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"displays workflow and features"| node_page_copy
node_home -->|"renders"| node_footer

click node_entry "https://github.com/sahilnegii31/resumeiq/blob/main/src/main.jsx"
click node_app "https://github.com/sahilnegii31/resumeiq/blob/main/src/App.jsx"
click node_pdf_extract "https://github.com/sahilnegii31/resumeiq/blob/main/src/App.jsx"
click node_home "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Home.jsx"
click node_score "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Circularscore.jsx"
click node_filetrack "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Filetrack.jsx"
click node_hold_delete "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/HoldButton.jsx"
click node_navbar "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Navbar.jsx"
click node_hero "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Hero.jsx"
click node_page_copy "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/data.js"
click node_footer "https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Footer.jsx"

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_entry,node_app,node_pdf_extract toneBlue
class node_home,node_score,node_filetrack,node_hold_delete toneAmber
class node_navbar,node_hero,node_page_copy,node_footer,node_groq toneMint
class node_visitor,node_pdfjs toneIndigo
```

## Components

### Analysis workflow

- [React entry](https://github.com/sahilnegii31/resumeiq/blob/main/src/main.jsx): `src/main.jsx`
- [Analysis controller](https://github.com/sahilnegii31/resumeiq/blob/main/src/App.jsx): `src/App.jsx`
- [PDF text extraction](https://github.com/sahilnegii31/resumeiq/blob/main/src/App.jsx): `src/App.jsx`

### User interface

- [Analyzer page](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Home.jsx): `src/components/Home.jsx`
- [Analysis report](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Circularscore.jsx): `src/components/Circularscore.jsx`
- [Selected file display](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Filetrack.jsx): `src/components/Filetrack.jsx`
- [Hold-to-delete control](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/HoldButton.jsx): `src/components/HoldButton.jsx`

### Page content

- [Navigation bar](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Hero section](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Workflow and features](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/data.js): `src/components/data.js`
- [Footer](https://github.com/sahilnegii31/resumeiq/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Other components

- **Resume owner**
- **PDF.js**
- **Groq AI API**

## Connections

- Resume owner → Analyzer page: uses controls (evidence: `src/components/Home.jsx`)
- React entry → Analysis controller: renders (evidence: `src/main.jsx`)
- Analysis controller → Analyzer page: renders with state (evidence: `src/App.jsx`)
- Analyzer page → Analysis controller: forwards file and analysis (evidence: `src/components/Home.jsx`)
- Analysis controller → PDF text extraction: extracts text (evidence: `src/App.jsx`)
- PDF text extraction → PDF.js: reads PDF pages (evidence: `src/App.jsx`)
- Analysis controller → Groq AI API: requests analysis (evidence: `src/App.jsx`)
- Analyzer page → Analysis report: renders result (evidence: `src/components/Home.jsx`)
- Analyzer page → Selected file display: renders file status (evidence: `src/components/Home.jsx`)
- Analyzer page → Hold-to-delete control: renders control (evidence: `src/components/Home.jsx`)
- Analyzer page → Navigation bar: renders (evidence: `src/components/Home.jsx`)
- Analyzer page → Hero section: renders (evidence: `src/components/Home.jsx`)
- Analyzer page → Workflow and features: displays workflow and features (evidence: `src/components/Home.jsx`)
- Analyzer page → Footer: renders (evidence: `src/components/Home.jsx`)
