# nrojasc25/name-that-genome architecture

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

- Interactive diagram: https://gitdiagram.com/nrojasc25/name-that-genome
- Repository: https://github.com/nrojasc25/name-that-genome

## Overview

Name That Genome is a web application intended to analyze genetic variants and use machine learning to identify potential rare genetic diseases. The visible frontend provides login navigation and routed dashboard, history, results, and about pages. The README documents the analysis and ML capabilities, but backend and model source was not provided, so those stages and their connections to the UI are shown only as unverified. The excerpts do not establish how variant data is submitted or how results reach the Results page.

Main entry points: [`frontend/src/components/Header.tsx`](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/components/Header.tsx) (Navigation Header), [`frontend/src/App.tsx`](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/App.tsx) (Route Controller), [`frontend/src/pages/Login.tsx`](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Login.tsx) (Login Page), [`frontend/src/pages/Dashboard.tsx`](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Dashboard.tsx) (Dashboard Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Frontend"]
  node_app_entry["App Entry<br/>[main.tsx]"]
  node_router["Route Controller<br/>[App.tsx]"]
  node_login["Login Page<br/>[Login.tsx]"]
  node_dashboard["Dashboard Page<br/>[Dashboard.tsx]"]
  node_history["History Page<br/>[History.tsx]"]
  node_results["Results Page<br/>[Results.tsx]"]
  node_about["About Page<br/>[AboutUs.tsx]"]
  node_header["Navigation Header<br/>[Header.tsx]"]
end

subgraph group_analysis["Genetic Analysis"]
  node_variant_analysis["Variant Analysis"]
  node_disease_ml["Disease Identification"]
end

subgraph group_references["Genomic References"]
  node_clinvar[("ClinVar / GRCh38")]
end

node_user(("User"))

node_user -->|"opens"| node_app_entry
node_app_entry -->|"renders"| node_router
node_router -->|"routes to"| node_login
node_router -->|"routes to"| node_dashboard
node_router -->|"routes to"| node_history
node_router -->|"routes to"| node_results
node_router -->|"routes to"| node_about
node_user -->|"selects login"| node_login
node_login -->|"navigates to"| node_dashboard
node_dashboard -->|"renders"| node_header
node_history -->|"renders"| node_header
node_results -->|"renders"| node_header
node_about -->|"renders"| node_header
node_header -->|"links to"| node_dashboard
node_header -->|"links to"| node_history
node_header -->|"links to"| node_about
node_header -->|"links to"| node_login
node_variant_analysis -.->|"uses ML"| node_disease_ml
node_variant_analysis -.-> node_clinvar

click node_app_entry "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/main.tsx"
click node_router "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/App.tsx"
click node_login "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Login.tsx"
click node_dashboard "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Dashboard.tsx"
click node_history "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/History.tsx"
click node_results "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Results.tsx"
click node_about "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/AboutUs.tsx"
click node_header "https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/components/Header.tsx"
click node_variant_analysis "https://github.com/nrojasc25/name-that-genome/tree/main/backend"
click node_disease_ml "https://github.com/nrojasc25/name-that-genome/tree/main/ml"

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_entry,node_router,node_login,node_dashboard,node_history,node_results,node_about,node_header,node_user toneBlue
class node_variant_analysis,node_disease_ml toneAmber
class node_clinvar toneMint
```

## Components

### Frontend

- [App Entry](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/main.tsx): `frontend/src/main.tsx`
- [Route Controller](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`
- [Login Page](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Login.tsx): `frontend/src/pages/Login.tsx`
- [Dashboard Page](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Dashboard.tsx): `frontend/src/pages/Dashboard.tsx`
- [History Page](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/History.tsx): `frontend/src/pages/History.tsx`
- [Results Page](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/Results.tsx): `frontend/src/pages/Results.tsx`
- [About Page](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/pages/AboutUs.tsx): `frontend/src/pages/AboutUs.tsx`
- [Navigation Header](https://github.com/nrojasc25/name-that-genome/blob/main/frontend/src/components/Header.tsx): `frontend/src/components/Header.tsx`

### Genetic Analysis

- [Variant Analysis](https://github.com/nrojasc25/name-that-genome/tree/main/backend): `backend`
- [Disease Identification](https://github.com/nrojasc25/name-that-genome/tree/main/ml): `ml`

### Genomic References

- **ClinVar / GRCh38**

### Other components

- **User**

## Connections

- User → App Entry: opens (evidence: `frontend/src/main.tsx`)
- App Entry → Route Controller: renders (evidence: `frontend/src/main.tsx`)
- Route Controller → Login Page: routes to (evidence: `frontend/src/App.tsx`)
- Route Controller → Dashboard Page: routes to (evidence: `frontend/src/App.tsx`)
- Route Controller → History Page: routes to (evidence: `frontend/src/App.tsx`)
- Route Controller → Results Page: routes to (evidence: `frontend/src/App.tsx`)
- Route Controller → About Page: routes to (evidence: `frontend/src/App.tsx`)
- User → Login Page: selects login (evidence: `frontend/src/pages/Login.tsx`)
- Login Page → Dashboard Page: navigates to (evidence: `frontend/src/pages/Login.tsx`)
- Dashboard Page → Navigation Header: renders (evidence: `frontend/src/pages/Dashboard.tsx`)
- History Page → Navigation Header: renders (evidence: `frontend/src/pages/History.tsx`)
- Results Page → Navigation Header: renders (evidence: `frontend/src/pages/Results.tsx`)
- About Page → Navigation Header: renders (evidence: `frontend/src/pages/AboutUs.tsx`)
- Navigation Header → Dashboard Page: links to (evidence: `frontend/src/components/Header.tsx`)
- Navigation Header → History Page: links to (evidence: `frontend/src/components/Header.tsx`)
- Navigation Header → About Page: links to (evidence: `frontend/src/components/Header.tsx`)
- Navigation Header → Login Page: links to (evidence: `frontend/src/components/Header.tsx`)
- Variant Analysis → Disease Identification: uses ML (evidence: `README.md`)
- Variant Analysis → ClinVar / GRCh38
