# adaparohith/infinova-hackathon architecture

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

- Interactive diagram: https://gitdiagram.com/adaparohith/infinova-hackathon
- Repository: https://github.com/adaparohith/infinova-hackathon

## Overview

Infinova is a recruiter-facing hiring trust application. A recruiter submits candidate details and a resume; the app normalizes resume data, gathers GitHub profile/repository data, requests AI analysis and GitHub evidence review, checks identity consistency, and synthesizes a verdict-backed assessment. Results are shown in the analysis/report views and retained in browser storage for dashboard review. The graph follows the App-level orchestration shown in excerpts and the README’s documented capabilities; unsampled modules are included where the source index or README identifies them, without inferring unshown calls.

Main entry points: [`src/App.jsx`](https://github.com/adaparohith/infinova-hackathon/blob/main/src/App.jsx) (Application workflow), [`src/pages/CandidateAnalysisPage.jsx`](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/CandidateAnalysisPage.jsx) (Candidate intake), [`src/pages/DashboardPage.jsx`](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/DashboardPage.jsx) (Recruiter dashboard), [`src/pages/LandingPage.jsx`](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/LandingPage.jsx) (Landing page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Recruiter experience"]
  node_landing["Landing page<br/>[LandingPage.jsx]"]
  node_analysis_ui["Candidate intake"]
  node_analysis_view["Analysis results<br/>[AIReportPage.jsx]"]
  node_dashboard["Recruiter dashboard<br/>[DashboardPage.jsx]"]
  node_report_card["Candidate report<br/>[ReportCard.jsx]"]
  node_candidate_table["Candidate table<br/>[CandidateTable.jsx]"]
  node_flow_stepper["Workflow stepper<br/>[FlowStepper.jsx]"]
  node_identity_alert["Identity alert<br/>[IdentityAlert.jsx]"]
end

subgraph group_orchestration["Workflow orchestration"]
  node_app["Application workflow<br/>[App.jsx]"]
end

subgraph group_verification["Candidate verification"]
  node_normalizer["Resume normalization"]
  node_github_fetch["GitHub data fetch<br/>[App.jsx]"]
  node_gemini["Gemini analysis<br/>[gemini.js]"]
  node_identity["Identity verification"]
  node_assessment["Assessment synthesis"]
  node_service_status["Service status handling<br/>[serviceStatus.js]"]
end

subgraph group_persistence["Reports and persistence"]
  node_storage[("Candidate storage<br/>[storage.js]")]
end

node_recruiter(("Recruiter"))
node_github["GitHub API"]
node_local_storage[("Browser localStorage")]

node_recruiter -->|"opens app"| node_landing
node_landing -->|"starts analysis"| node_analysis_ui
node_recruiter -->|"submits profile"| node_analysis_ui
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_analysis_ui
node_app -->|"routes to"| node_analysis_view
node_app -->|"routes to"| node_dashboard
node_analysis_ui -->|"requests analysis"| node_app
node_app -->|"normalizes resume"| node_normalizer
node_app -->|"fetches profile data"| node_github_fetch
node_github_fetch -->|"requests profile and repos"| node_github
node_app -->|"requests AI reviews"| node_gemini
node_app -->|"checks identity"| node_identity
node_app -->|"synthesizes assessment"| node_assessment
node_assessment -->|"uses failure states"| node_service_status
node_app -->|"loads and saves"| node_storage
node_storage -->|"reads and writes"| node_local_storage
node_analysis_ui -->|"renders"| node_flow_stepper
node_analysis_ui -->|"shows identity result"| node_identity_alert
node_dashboard -->|"renders filtered candidates"| node_candidate_table
node_dashboard -->|"shows selected report"| node_report_card
node_analysis_view -->|"renders report"| node_report_card
node_report_card -->|"renders identity status"| node_identity_alert
node_app -->|"provides analysis result"| node_analysis_view
node_app -->|"provides candidates"| node_dashboard

click node_landing "https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/LandingPage.jsx"
click node_analysis_ui "https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/CandidateAnalysisPage.jsx"
click node_analysis_view "https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/AIReportPage.jsx"
click node_dashboard "https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/DashboardPage.jsx"
click node_report_card "https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/ReportCard.jsx"
click node_candidate_table "https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/CandidateTable.jsx"
click node_app "https://github.com/adaparohith/infinova-hackathon/blob/main/src/App.jsx"
click node_normalizer "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/resumeNormalizer.js"
click node_github_fetch "https://github.com/adaparohith/infinova-hackathon/blob/main/src/App.jsx"
click node_gemini "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/gemini.js"
click node_identity "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/identityVerifier.js"
click node_assessment "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/analysisSynthesizer.js"
click node_service_status "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/serviceStatus.js"
click node_storage "https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/storage.js"
click node_flow_stepper "https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/FlowStepper.jsx"
click node_identity_alert "https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/IdentityAlert.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_landing,node_analysis_ui,node_analysis_view,node_dashboard,node_report_card,node_candidate_table,node_flow_stepper,node_identity_alert toneBlue
class node_app,node_local_storage toneAmber
class node_normalizer,node_github_fetch,node_gemini,node_identity,node_assessment,node_service_status,node_github toneMint
class node_storage toneRose
class node_recruiter toneIndigo
```

## Components

### Recruiter experience

- [Landing page](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/LandingPage.jsx): `src/pages/LandingPage.jsx`
- [Candidate intake](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/CandidateAnalysisPage.jsx): `src/pages/CandidateAnalysisPage.jsx`
- [Analysis results](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/AIReportPage.jsx): `src/pages/AIReportPage.jsx`
- [Recruiter dashboard](https://github.com/adaparohith/infinova-hackathon/blob/main/src/pages/DashboardPage.jsx): `src/pages/DashboardPage.jsx`
- [Candidate report](https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/ReportCard.jsx): `src/components/ReportCard.jsx`
- [Candidate table](https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/CandidateTable.jsx): `src/components/CandidateTable.jsx`
- [Workflow stepper](https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/FlowStepper.jsx): `src/components/FlowStepper.jsx`
- [Identity alert](https://github.com/adaparohith/infinova-hackathon/blob/main/src/components/IdentityAlert.jsx): `src/components/IdentityAlert.jsx`

### Workflow orchestration

- [Application workflow](https://github.com/adaparohith/infinova-hackathon/blob/main/src/App.jsx): `src/App.jsx`

### Candidate verification

- [Resume normalization](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/resumeNormalizer.js): `src/utils/resumeNormalizer.js`
- [GitHub data fetch](https://github.com/adaparohith/infinova-hackathon/blob/main/src/App.jsx): `src/App.jsx`
- [Gemini analysis](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/gemini.js): `src/utils/gemini.js`
- [Identity verification](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/identityVerifier.js): `src/utils/identityVerifier.js`
- [Assessment synthesis](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/analysisSynthesizer.js): `src/utils/analysisSynthesizer.js`
- [Service status handling](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/serviceStatus.js): `src/utils/serviceStatus.js`

### Reports and persistence

- [Candidate storage](https://github.com/adaparohith/infinova-hackathon/blob/main/src/utils/storage.js): `src/utils/storage.js`

### Other components

- **Recruiter**
- **GitHub API**
- **Browser localStorage**

## Connections

- Recruiter → Landing page: opens app (evidence: `README.md`)
- Landing page → Candidate intake: starts analysis (evidence: `src/pages/LandingPage.jsx`)
- Recruiter → Candidate intake: submits profile (evidence: `README.md`)
- Application workflow → Landing page: routes to (evidence: `src/App.jsx`)
- Application workflow → Candidate intake: routes to (evidence: `src/App.jsx`)
- Application workflow → Analysis results: routes to (evidence: `src/App.jsx`)
- Application workflow → Recruiter dashboard: routes to (evidence: `src/App.jsx`)
- Candidate intake → Application workflow: requests analysis (evidence: `src/pages/CandidateAnalysisPage.jsx`)
- Application workflow → Resume normalization: normalizes resume (evidence: `src/App.jsx`)
- Application workflow → GitHub data fetch: fetches profile data (evidence: `src/App.jsx`)
- GitHub data fetch → GitHub API: requests profile and repos (evidence: `src/App.jsx`)
- Application workflow → Gemini analysis: requests AI reviews (evidence: `src/App.jsx`)
- Application workflow → Identity verification: checks identity (evidence: `src/App.jsx`)
- Application workflow → Assessment synthesis: synthesizes assessment (evidence: `src/App.jsx`)
- Assessment synthesis → Service status handling: uses failure states (evidence: `src/utils/analysisSynthesizer.js`)
- Application workflow → Candidate storage: loads and saves (evidence: `src/App.jsx`)
- Candidate storage → Browser localStorage: reads and writes (evidence: `src/utils/storage.js`)
- Candidate intake → Workflow stepper: renders (evidence: `src/pages/CandidateAnalysisPage.jsx`)
- Candidate intake → Identity alert: shows identity result (evidence: `src/pages/CandidateAnalysisPage.jsx`)
- Recruiter dashboard → Candidate table: renders filtered candidates (evidence: `src/pages/DashboardPage.jsx`)
- Recruiter dashboard → Candidate report: shows selected report (evidence: `src/pages/DashboardPage.jsx`)
- Analysis results → Candidate report: renders report (evidence: `src/pages/AIReportPage.jsx`)
- Candidate report → Identity alert: renders identity status (evidence: `src/components/ReportCard.jsx`)
- Application workflow → Analysis results: provides analysis result (evidence: `src/App.jsx`)
- Application workflow → Recruiter dashboard: provides candidates (evidence: `src/App.jsx`)
