# vardhan63017/confidentme architecture

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

- Interactive diagram: https://gitdiagram.com/vardhan63017/confidentme
- Repository: https://github.com/vardhan63017/confidentme

## Overview

ConfidentMe is a web interview-practice app: users choose a practice session, record an answer, review analysis, and follow performance over time. The sampled session code shows camera/microphone recording, expression-state simulation, and saving through an auth hook; the README describes broader eye-contact and speech analysis. The graph includes the documented analysis capabilities, but the available excerpts do not establish their full implementation or any persistent backend. The resume-analysis endpoint is included as a separate capability.

Main entry points: [`components/mock-interview-session.tsx`](https://github.com/vardhan63017/confidentme/blob/main/components/mock-interview-session.tsx) (Mock interview session), [`components/progress-dashboard.tsx`](https://github.com/vardhan63017/confidentme/blob/main/components/progress-dashboard.tsx) (Progress dashboard), [`app/page.tsx`](https://github.com/vardhan63017/confidentme/blob/main/app/page.tsx) (Home page), [`app/history/page.tsx`](https://github.com/vardhan63017/confidentme/blob/main/app/history/page.tsx) (History route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Practice experience"]
  node_interview["Practice route<br/>[page.tsx]"]
  node_session["Mock interview session"]
  node_camera(("Camera and audio"))
  node_analysis["Session analysis panel<br/>[analysis-panel.tsx]"]
  node_questions["Interview questions"]
end

subgraph group_insights["Review and improvement"]
  node_historypage["History route<br/>[page.tsx]"]
  node_history["Session history"]
  node_progresspage["Progress route<br/>[page.tsx]"]
  node_progress["Progress dashboard"]
  node_confidence["Confidence trends"]
  node_eyecontact["Eye-contact trends"]
  node_performance["Performance chart"]
  node_mistakes["Mistake breakdown"]
  node_sessiondetail["Session detail<br/>[session-detail.tsx]"]
end

subgraph group_accounts["Account and resume"]
  node_signup["Sign-up page<br/>[page.tsx]"]
  node_login["Login page<br/>[page.tsx]"]
  node_profile["Profile page<br/>[page.tsx]"]
  node_resume["Resume analysis endpoint<br/>[route.ts]"]
end

subgraph group_presentation["Product presentation"]
  node_home["Home page<br/>[page.tsx]"]
  node_header["Site navigation<br/>[header.tsx]"]
  node_features["Feature overview"]
  node_live["Live session promotion"]
end

node_candidate(("Practice user"))

node_candidate -->|"opens"| node_home
node_home -->|"renders"| node_header
node_home -->|"renders"| node_features
node_home -->|"renders"| node_live
node_candidate -->|"starts practice"| node_interview
node_interview -->|"renders"| node_session
node_session -->|"captures audio/video"| node_camera
node_session -->|"presents questions"| node_questions
node_session -->|"renders"| node_analysis
node_session -->|"simulates expressions"| node_analysis
node_session -.->|"analyzes gaze and speech"| node_analysis
node_candidate -->|"opens history"| node_historypage
node_historypage -->|"renders"| node_header
node_historypage -->|"renders"| node_history
node_candidate -->|"opens progress"| node_progresspage
node_progresspage -->|"renders"| node_progress
node_progress -->|"renders"| node_confidence
node_progress -->|"renders"| node_eyecontact
node_progress -->|"renders"| node_performance
node_progress -->|"renders"| node_mistakes
node_progress -->|"renders"| node_sessiondetail
node_candidate -->|"creates account"| node_signup
node_candidate -->|"signs in"| node_login
node_candidate -->|"manages profile"| node_profile
node_candidate -.->|"submits resume"| node_resume

click node_home "https://github.com/vardhan63017/confidentme/blob/main/app/page.tsx"
click node_interview "https://github.com/vardhan63017/confidentme/blob/main/app/interview/page.tsx"
click node_session "https://github.com/vardhan63017/confidentme/blob/main/components/mock-interview-session.tsx"
click node_analysis "https://github.com/vardhan63017/confidentme/blob/main/components/analysis-panel.tsx"
click node_historypage "https://github.com/vardhan63017/confidentme/blob/main/app/history/page.tsx"
click node_history "https://github.com/vardhan63017/confidentme/blob/main/components/history-dashboard.tsx"
click node_progresspage "https://github.com/vardhan63017/confidentme/blob/main/app/progress/page.tsx"
click node_progress "https://github.com/vardhan63017/confidentme/blob/main/components/progress-dashboard.tsx"
click node_confidence "https://github.com/vardhan63017/confidentme/blob/main/components/charts/confidence-chart.tsx"
click node_eyecontact "https://github.com/vardhan63017/confidentme/blob/main/components/charts/eye-contact-chart.tsx"
click node_performance "https://github.com/vardhan63017/confidentme/blob/main/components/charts/performance-chart.tsx"
click node_mistakes "https://github.com/vardhan63017/confidentme/blob/main/components/charts/mistakes-breakdown.tsx"
click node_sessiondetail "https://github.com/vardhan63017/confidentme/blob/main/components/session-detail.tsx"
click node_signup "https://github.com/vardhan63017/confidentme/blob/main/app/signup/page.tsx"
click node_login "https://github.com/vardhan63017/confidentme/blob/main/app/login/page.tsx"
click node_profile "https://github.com/vardhan63017/confidentme/blob/main/app/profile/page.tsx"
click node_resume "https://github.com/vardhan63017/confidentme/blob/main/app/api/analyze-resume/route.ts"
click node_header "https://github.com/vardhan63017/confidentme/blob/main/components/header.tsx"
click node_features "https://github.com/vardhan63017/confidentme/blob/main/components/features-section.tsx"
click node_live "https://github.com/vardhan63017/confidentme/blob/main/components/live-session-section.tsx"
click node_questions "https://github.com/vardhan63017/confidentme/blob/main/components/mock-interview-session.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_interview,node_session,node_camera,node_analysis,node_questions,node_candidate toneBlue
class node_historypage,node_history,node_progresspage,node_progress,node_confidence,node_eyecontact,node_performance,node_mistakes,node_sessiondetail toneAmber
class node_signup,node_login,node_profile,node_resume toneMint
class node_home,node_header,node_features,node_live toneRose
```

## Components

### Practice experience

- [Practice route](https://github.com/vardhan63017/confidentme/blob/main/app/interview/page.tsx): `app/interview/page.tsx`
- [Mock interview session](https://github.com/vardhan63017/confidentme/blob/main/components/mock-interview-session.tsx): `components/mock-interview-session.tsx`
- **Camera and audio**
- [Session analysis panel](https://github.com/vardhan63017/confidentme/blob/main/components/analysis-panel.tsx): `components/analysis-panel.tsx`
- [Interview questions](https://github.com/vardhan63017/confidentme/blob/main/components/mock-interview-session.tsx): `components/mock-interview-session.tsx`

### Review and improvement

- [History route](https://github.com/vardhan63017/confidentme/blob/main/app/history/page.tsx): `app/history/page.tsx`
- [Session history](https://github.com/vardhan63017/confidentme/blob/main/components/history-dashboard.tsx): `components/history-dashboard.tsx`
- [Progress route](https://github.com/vardhan63017/confidentme/blob/main/app/progress/page.tsx): `app/progress/page.tsx`
- [Progress dashboard](https://github.com/vardhan63017/confidentme/blob/main/components/progress-dashboard.tsx): `components/progress-dashboard.tsx`
- [Confidence trends](https://github.com/vardhan63017/confidentme/blob/main/components/charts/confidence-chart.tsx): `components/charts/confidence-chart.tsx`
- [Eye-contact trends](https://github.com/vardhan63017/confidentme/blob/main/components/charts/eye-contact-chart.tsx): `components/charts/eye-contact-chart.tsx`
- [Performance chart](https://github.com/vardhan63017/confidentme/blob/main/components/charts/performance-chart.tsx): `components/charts/performance-chart.tsx`
- [Mistake breakdown](https://github.com/vardhan63017/confidentme/blob/main/components/charts/mistakes-breakdown.tsx): `components/charts/mistakes-breakdown.tsx`
- [Session detail](https://github.com/vardhan63017/confidentme/blob/main/components/session-detail.tsx): `components/session-detail.tsx`

### Account and resume

- [Sign-up page](https://github.com/vardhan63017/confidentme/blob/main/app/signup/page.tsx): `app/signup/page.tsx`
- [Login page](https://github.com/vardhan63017/confidentme/blob/main/app/login/page.tsx): `app/login/page.tsx`
- [Profile page](https://github.com/vardhan63017/confidentme/blob/main/app/profile/page.tsx): `app/profile/page.tsx`
- [Resume analysis endpoint](https://github.com/vardhan63017/confidentme/blob/main/app/api/analyze-resume/route.ts): `app/api/analyze-resume/route.ts`

### Product presentation

- [Home page](https://github.com/vardhan63017/confidentme/blob/main/app/page.tsx): `app/page.tsx`
- [Site navigation](https://github.com/vardhan63017/confidentme/blob/main/components/header.tsx): `components/header.tsx`
- [Feature overview](https://github.com/vardhan63017/confidentme/blob/main/components/features-section.tsx): `components/features-section.tsx`
- [Live session promotion](https://github.com/vardhan63017/confidentme/blob/main/components/live-session-section.tsx): `components/live-session-section.tsx`

### Other components

- **Practice user**

## Connections

- Practice user → Home page: opens (evidence: `app/page.tsx`)
- Home page → Site navigation: renders (evidence: `app/page.tsx`)
- Home page → Feature overview: renders (evidence: `app/page.tsx`)
- Home page → Live session promotion: renders (evidence: `app/page.tsx`)
- Practice user → Practice route: starts practice (evidence: `README.md`)
- Practice route → Mock interview session: renders (evidence: `app/interview/page.tsx`)
- Mock interview session → Camera and audio: captures audio/video (evidence: `components/mock-interview-session.tsx`)
- Mock interview session → Interview questions: presents questions (evidence: `README.md`)
- Mock interview session → Session analysis panel: renders (evidence: `components/mock-interview-session.tsx`)
- Mock interview session → Session analysis panel: simulates expressions (evidence: `components/mock-interview-session.tsx`)
- Mock interview session → Session analysis panel: analyzes gaze and speech (evidence: `README.md`)
- Practice user → History route: opens history
- History route → Site navigation: renders (evidence: `app/history/page.tsx`)
- History route → Session history: renders (evidence: `app/history/page.tsx`)
- Practice user → Progress route: opens progress
- Progress route → Progress dashboard: renders (evidence: `app/progress/page.tsx`)
- Progress dashboard → Confidence trends: renders (evidence: `components/progress-dashboard.tsx`)
- Progress dashboard → Eye-contact trends: renders (evidence: `components/progress-dashboard.tsx`)
- Progress dashboard → Performance chart: renders (evidence: `components/progress-dashboard.tsx`)
- Progress dashboard → Mistake breakdown: renders (evidence: `components/progress-dashboard.tsx`)
- Progress dashboard → Session detail: renders (evidence: `components/progress-dashboard.tsx`)
- Practice user → Sign-up page: creates account (evidence: `README.md`)
- Practice user → Login page: signs in (evidence: `app/login/page.tsx`)
- Practice user → Profile page: manages profile (evidence: `app/profile/page.tsx`)
- Practice user → Resume analysis endpoint: submits resume
