# aakshivora/hirepro architecture

> Architecture diagram of the GitHub repository aakshivora/hirepro, 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/aakshivora/hirepro
- Repository: https://github.com/aakshivora/hirepro

## Overview

HirePro is a lightweight hiring website for HR teams. The visible workflow is a recruiter searching candidate records by location and job role, then viewing matching profiles; the sampled search logic uses hard-coded mock data rather than a demonstrated backend. The repository also includes home, login, and registration pages, with client-side account-field validation in the sampled script. HTML wiring was not sampled, so page-to-script links and login behavior are not asserted.

Main entry points: [`search.html`](https://github.com/aakshivora/hirepro/blob/main/search.html) (Candidate Results), [`search.js`](https://github.com/aakshivora/hirepro/blob/main/search.js) (Candidate Search Logic), [`script.js`](https://github.com/aakshivora/hirepro/blob/main/script.js) (Alternate Search Logic), [`log_reg.js`](https://github.com/aakshivora/hirepro/blob/main/log_reg.js) (Account Validation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website"]
  node_home["Home Page<br/>[index.html]"]
end

subgraph group_search["Candidate Search"]
  node_search_page["Search Page<br/>[search.html]"]
  node_search_logic["Candidate Search Logic<br/>[search.js]"]
  node_search_results["Candidate Results<br/>[search.html]"]
  node_legacy_search_logic["Alternate Search Logic<br/>[script.js]"]
end

subgraph group_account["Account Forms"]
  node_login_page["Login Page<br/>[login.html]"]
  node_registration_page["Registration Page<br/>[reg.html]"]
  node_account_validation["Account Validation<br/>[log_reg.js]"]
end

node_recruiter(("HR Recruiter"))

node_recruiter -->|"uses"| node_home
node_search_logic -->|"renders"| node_search_results
node_legacy_search_logic -->|"renders"| node_search_results
node_account_validation -.->|"validates fields"| node_registration_page

click node_home "https://github.com/aakshivora/hirepro/blob/main/index.html"
click node_search_page "https://github.com/aakshivora/hirepro/blob/main/search.html"
click node_search_logic "https://github.com/aakshivora/hirepro/blob/main/search.js"
click node_search_results "https://github.com/aakshivora/hirepro/blob/main/search.html"
click node_legacy_search_logic "https://github.com/aakshivora/hirepro/blob/main/script.js"
click node_login_page "https://github.com/aakshivora/hirepro/blob/main/login.html"
click node_registration_page "https://github.com/aakshivora/hirepro/blob/main/reg.html"
click node_account_validation "https://github.com/aakshivora/hirepro/blob/main/log_reg.js"

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_home toneBlue
class node_search_page,node_search_logic,node_search_results,node_legacy_search_logic toneAmber
class node_login_page,node_registration_page,node_account_validation toneMint
class node_recruiter toneIndigo
```

## Components

### Website

- [Home Page](https://github.com/aakshivora/hirepro/blob/main/index.html): `index.html`

### Candidate Search

- [Search Page](https://github.com/aakshivora/hirepro/blob/main/search.html): `search.html`
- [Candidate Search Logic](https://github.com/aakshivora/hirepro/blob/main/search.js): `search.js`
- [Candidate Results](https://github.com/aakshivora/hirepro/blob/main/search.html): `search.html`
- [Alternate Search Logic](https://github.com/aakshivora/hirepro/blob/main/script.js): `script.js`

### Account Forms

- [Login Page](https://github.com/aakshivora/hirepro/blob/main/login.html): `login.html`
- [Registration Page](https://github.com/aakshivora/hirepro/blob/main/reg.html): `reg.html`
- [Account Validation](https://github.com/aakshivora/hirepro/blob/main/log_reg.js): `log_reg.js`

### Other components

- **HR Recruiter**

## Connections

- HR Recruiter → Home Page: uses (evidence: `README.md`)
- Candidate Search Logic → Candidate Results: renders (evidence: `search.js`)
- Alternate Search Logic → Candidate Results: renders (evidence: `script.js`)
- Account Validation → Registration Page: validates fields
