# pranav-s-r123/resumeiq-pro architecture

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

- Interactive diagram: https://gitdiagram.com/pranav-s-r123/resumeiq-pro
- Repository: https://github.com/pranav-s-r123/resumeiq-pro

## Overview

ResumeIQ Pro is a web application for AI-assisted resume and job-description analysis. The intended main journey is landing page → resume upload → analysis → scored results, with authentication and resume history/settings as supporting capabilities. The analysis route excerpt shows resume text extraction, a Groq request, and saving history to Supabase. Upload, results data handoff, and the unsampled account pages are represented conservatively because their source was not shown; dashed edges mark unverified connections.

Main entry points: [`app/page.tsx`](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/page.tsx) (Landing page), [`app/api/analyze/route.ts`](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/api/analyze/route.ts) (Analysis endpoint), [`app/results/page.tsx`](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/results/page.tsx) (Analysis results), [`components/ui`](https://github.com/pranav-s-r123/resumeiq-pro/tree/main/components/ui) (UI components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Product experience"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_upload["Resume upload<br/>[page.tsx]"]
  node_results["Analysis results<br/>[page.tsx]"]
end

subgraph group_analysis["Resume analysis"]
  node_analyze["Analysis endpoint<br/>[route.ts]"]
  node_resume_text["Text extraction<br/>[route.ts]"]
  node_history[("Resume history")]
end

subgraph group_accounts["Accounts and history"]
  node_auth_page["Authentication page<br/>[page.tsx]"]
  node_auth_callback["Auth callback<br/>[route.ts]"]
  node_dashboard["Dashboard<br/>[page.tsx]"]
  node_settings["Account settings<br/>[page.tsx]"]
  node_supabase["Supabase client<br/>[supabase-client.ts]"]
end

subgraph group_shared["Shared interface"]
  node_shared_ui["UI components"]
  node_navbar["Navigation<br/>[navbar.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_layout["Application layout<br/>[layout.tsx]"]
end

node_visitor(("Visitor"))
node_groq{{"Groq AI API"}}

node_visitor -->|"opens"| node_landing
node_landing -->|"links to"| node_upload
node_upload -.->|"submits resume"| node_analyze
node_analyze -->|"extracts text"| node_resume_text
node_analyze -->|"requests analysis"| node_groq
node_analyze -->|"inserts history"| node_history
node_analyze -.->|"provides results"| node_results
node_auth_page -.->|"continues sign-in"| node_auth_callback
node_auth_callback -.->|"uses auth"| node_supabase
node_dashboard -.->|"views history"| node_history
node_settings -.->|"manages account"| node_supabase
node_landing -->|"renders"| node_navbar
node_landing -->|"renders"| node_footer
node_landing -->|"uses components"| node_shared_ui
node_results -->|"renders"| node_navbar
node_results -->|"uses components"| node_shared_ui
node_layout -->|"mounts toaster"| node_shared_ui

click node_landing "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/page.tsx"
click node_upload "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/upload/page.tsx"
click node_results "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/results/page.tsx"
click node_analyze "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/api/analyze/route.ts"
click node_resume_text "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/api/analyze/route.ts"
click node_auth_page "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/auth/page.tsx"
click node_auth_callback "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/auth/callback/route.ts"
click node_dashboard "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/dashboard/page.tsx"
click node_settings "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/dashboard/settings/page.tsx"
click node_supabase "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/lib/supabase-client.ts"
click node_shared_ui "https://github.com/pranav-s-r123/resumeiq-pro/tree/main/components/ui"
click node_navbar "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/components/shared/navbar.tsx"
click node_footer "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/components/shared/footer.tsx"
click node_layout "https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/layout.tsx"

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_landing,node_upload,node_results toneBlue
class node_analyze,node_resume_text,node_history toneAmber
class node_auth_page,node_auth_callback,node_dashboard,node_settings,node_supabase,node_groq toneMint
class node_shared_ui,node_navbar,node_footer,node_layout toneRose
class node_visitor toneIndigo
```

## Components

### Product experience

- [Landing page](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/page.tsx): `app/page.tsx`
- [Resume upload](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/upload/page.tsx): `app/upload/page.tsx`
- [Analysis results](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/results/page.tsx): `app/results/page.tsx`

### Resume analysis

- [Analysis endpoint](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/api/analyze/route.ts): `app/api/analyze/route.ts`
- [Text extraction](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/api/analyze/route.ts): `app/api/analyze/route.ts`
- **Resume history**

### Accounts and history

- [Authentication page](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/auth/page.tsx): `app/auth/page.tsx`
- [Auth callback](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/auth/callback/route.ts): `app/auth/callback/route.ts`
- [Dashboard](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/dashboard/page.tsx): `app/dashboard/page.tsx`
- [Account settings](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/dashboard/settings/page.tsx): `app/dashboard/settings/page.tsx`
- [Supabase client](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/lib/supabase-client.ts): `lib/supabase-client.ts`

### Shared interface

- [UI components](https://github.com/pranav-s-r123/resumeiq-pro/tree/main/components/ui): `components/ui`
- [Navigation](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/components/shared/navbar.tsx): `components/shared/navbar.tsx`
- [Footer](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/components/shared/footer.tsx): `components/shared/footer.tsx`
- [Application layout](https://github.com/pranav-s-r123/resumeiq-pro/blob/main/app/layout.tsx): `app/layout.tsx`

### Other components

- **Visitor**
- **Groq AI API**

## Connections

- Visitor → Landing page: opens (evidence: `app/page.tsx`)
- Landing page → Resume upload: links to (evidence: `app/page.tsx`)
- Resume upload → Analysis endpoint: submits resume
- Analysis endpoint → Text extraction: extracts text (evidence: `app/api/analyze/route.ts`)
- Analysis endpoint → Groq AI API: requests analysis (evidence: `app/api/analyze/route.ts`)
- Analysis endpoint → Resume history: inserts history (evidence: `app/api/analyze/route.ts`)
- Analysis endpoint → Analysis results: provides results
- Authentication page → Auth callback: continues sign-in
- Auth callback → Supabase client: uses auth
- Dashboard → Resume history: views history
- Account settings → Supabase client: manages account
- Landing page → Navigation: renders (evidence: `app/page.tsx`)
- Landing page → Footer: renders (evidence: `app/page.tsx`)
- Landing page → UI components: uses components (evidence: `app/page.tsx`)
- Analysis results → Navigation: renders (evidence: `app/results/page.tsx`)
- Analysis results → UI components: uses components (evidence: `app/results/page.tsx`)
- Application layout → UI components: mounts toaster (evidence: `app/layout.tsx`)
