# sumanmanyam1/namowebsite- architecture

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

## Overview

NAMO Hospital is a static hospital website with client-side interactions, not a backend application. Visitors browse hospital information, contact or call the hospital, and can use a modal workflow to search patient records or submit appointment information. The sampled script also includes a patient/staff login interface; the appointment submission calls an external API, while patient search uses records embedded in the script. Only the README and partial script excerpt provide evidence, so unsampled page details and implementation links are omitted.

Main entry points: [`script.js`](https://github.com/sumanmanyam1/namowebsite-/blob/main/script.js) (Site Interactions), [`index.html`](https://github.com/sumanmanyam1/namowebsite-/blob/main/index.html) (Home), [`services.html`](https://github.com/sumanmanyam1/namowebsite-/blob/main/services.html) (Services), [`doctors.html`](https://github.com/sumanmanyam1/namowebsite-/blob/main/doctors.html) (Doctors)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Hospital Website"]
  node_home["Home<br/>[index.html]"]
  node_services["Services<br/>[services.html]"]
  node_doctors["Doctors<br/>[doctors.html]"]
  node_about["About<br/>[about.html]"]
  node_contact["Contact<br/>[contact.html]"]
end

subgraph group_interactions["Visitor Interactions"]
  node_site_behavior["Site Interactions<br/>[script.js]"]
end

subgraph group_records["Patient Services"]
  node_patient_records[("Patient Records<br/>[script.js]")]
end

node_visitor(("Visitor"))
node_api{{"Appointment API"}}
node_telephone{{"Hospital Phone"}}

node_visitor -->|"visits"| node_home
node_visitor -->|"browses"| node_services
node_visitor -->|"browses"| node_doctors
node_visitor -->|"browses"| node_about
node_visitor -->|"browses"| node_contact
node_site_behavior -->|"searches"| node_patient_records
node_site_behavior -->|"submits appointment"| node_api
node_site_behavior -->|"logs call clicks"| node_telephone

click node_home "https://github.com/sumanmanyam1/namowebsite-/blob/main/index.html"
click node_services "https://github.com/sumanmanyam1/namowebsite-/blob/main/services.html"
click node_doctors "https://github.com/sumanmanyam1/namowebsite-/blob/main/doctors.html"
click node_about "https://github.com/sumanmanyam1/namowebsite-/blob/main/about.html"
click node_contact "https://github.com/sumanmanyam1/namowebsite-/blob/main/contact.html"
click node_site_behavior "https://github.com/sumanmanyam1/namowebsite-/blob/main/script.js"
click node_patient_records "https://github.com/sumanmanyam1/namowebsite-/blob/main/script.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,node_services,node_doctors,node_about,node_contact toneBlue
class node_site_behavior toneAmber
class node_patient_records,node_api toneMint
class node_visitor,node_telephone toneIndigo
```

## Components

### Hospital Website

- [Home](https://github.com/sumanmanyam1/namowebsite-/blob/main/index.html): `index.html`
- [Services](https://github.com/sumanmanyam1/namowebsite-/blob/main/services.html): `services.html`
- [Doctors](https://github.com/sumanmanyam1/namowebsite-/blob/main/doctors.html): `doctors.html`
- [About](https://github.com/sumanmanyam1/namowebsite-/blob/main/about.html): `about.html`
- [Contact](https://github.com/sumanmanyam1/namowebsite-/blob/main/contact.html): `contact.html`

### Visitor Interactions

- [Site Interactions](https://github.com/sumanmanyam1/namowebsite-/blob/main/script.js): `script.js`

### Patient Services

- [Patient Records](https://github.com/sumanmanyam1/namowebsite-/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **Appointment API**
- **Hospital Phone**

## Connections

- Visitor → Home: visits
- Visitor → Services: browses
- Visitor → Doctors: browses
- Visitor → About: browses
- Visitor → Contact: browses
- Site Interactions → Patient Records: searches (evidence: `script.js`)
- Site Interactions → Appointment API: submits appointment (evidence: `script.js`)
- Site Interactions → Hospital Phone: logs call clicks (evidence: `script.js`)
