# nithishkumar2772/nm-onepoint-website architecture

> Architecture diagram of the GitHub repository nithishkumar2772/nm-onepoint-website, 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/nithishkumar2772/nm-onepoint-website
- Repository: https://github.com/nithishkumar2772/nm-onepoint-website

## Overview

NM OnePoint is a static services and portfolio website. Visitors browse service listings and details, explore project work, and find contact information; the JavaScript entry point loads shared page components and renders dynamic content. The excerpts confirm project data loading, shared component loading, navigation behavior, animations, and client-side contact-form handling. The README is empty and HTML pages were not sampled, so page-to-script wiring and several data relationships are not asserted.

Main entry points: [`js/main.js`](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js) (Page Runtime), [`index.html`](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/index.html) (Home Page), [`components/header.html`](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/header.html) (Shared Header), [`components/footer.html`](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/footer.html) (Shared Footer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Public Website"]
  node_home["Home Page<br/>[index.html]"]
  node_services_page["Services Page<br/>[services.html]"]
  node_service_page["Service Detail<br/>[service.html]"]
  node_category_page["Category Detail<br/>[category.html]"]
  node_projects_page["Projects Page<br/>[projects.html]"]
  node_about_page["About Page<br/>[about.html]"]
  node_contact_page["Contact Page<br/>[contact.html]"]
  node_header["Shared Header<br/>[header.html]"]
  node_footer["Shared Footer<br/>[footer.html]"]
end

subgraph group_catalog["Services and Projects"]
  node_runtime["Page Runtime<br/>[main.js]"]
  node_project_render["Project Renderer<br/>[main.js]"]
  node_faq_render["FAQ Renderer<br/>[main.js]"]
  node_service_views["Service Views<br/>[main.js]"]
end

subgraph group_experience["Visitor Experience"]
  node_navigation["Navigation Behavior<br/>[navigation.js]"]
  node_animations["Motion Effects<br/>[animations.js]"]
  node_forms["Contact Form<br/>[forms.js]"]
end

subgraph group_content["Site Content"]
  node_project_data["Project Records<br/>[projects.json]"]
  node_service_data["Service Records<br/>[services.json]"]
  node_faq_data["FAQ Records<br/>[faq.json]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_home
node_runtime -->|"loads"| node_header
node_runtime -->|"loads"| node_footer
node_runtime -->|"invokes"| node_project_render
node_project_render -->|"fetches"| node_project_data
node_runtime -->|"invokes"| node_faq_render
node_runtime -->|"invokes"| node_service_views

click node_home "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/index.html"
click node_services_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/services.html"
click node_service_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/service.html"
click node_category_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/category.html"
click node_projects_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/projects.html"
click node_about_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/about.html"
click node_contact_page "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/contact.html"
click node_runtime "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js"
click node_project_render "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js"
click node_faq_render "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js"
click node_service_views "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js"
click node_project_data "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/projects.json"
click node_service_data "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/services.json"
click node_faq_data "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/faq.json"
click node_header "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/header.html"
click node_footer "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/footer.html"
click node_navigation "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/navigation.js"
click node_animations "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/animations.js"
click node_forms "https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/forms.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_page,node_service_page,node_category_page,node_projects_page,node_about_page,node_contact_page,node_header,node_footer toneBlue
class node_runtime,node_project_render,node_faq_render,node_service_views toneAmber
class node_navigation,node_animations,node_forms toneMint
class node_project_data,node_service_data,node_faq_data toneRose
class node_visitor toneIndigo
```

## Components

### Public Website

- [Home Page](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/index.html): `index.html`
- [Services Page](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/services.html): `services.html`
- [Service Detail](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/service.html): `service.html`
- [Category Detail](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/category.html): `category.html`
- [Projects Page](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/projects.html): `projects.html`
- [About Page](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/about.html): `about.html`
- [Contact Page](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/contact.html): `contact.html`
- [Shared Header](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/header.html): `components/header.html`
- [Shared Footer](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/components/footer.html): `components/footer.html`

### Services and Projects

- [Page Runtime](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js): `js/main.js`
- [Project Renderer](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js): `js/main.js`
- [FAQ Renderer](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js): `js/main.js`
- [Service Views](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/main.js): `js/main.js`

### Visitor Experience

- [Navigation Behavior](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/navigation.js): `js/navigation.js`
- [Motion Effects](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/animations.js): `js/animations.js`
- [Contact Form](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/js/forms.js): `js/forms.js`

### Site Content

- [Project Records](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/projects.json): `data/projects.json`
- [Service Records](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/services.json): `data/services.json`
- [FAQ Records](https://github.com/nithishkumar2772/nm-onepoint-website/blob/main/data/faq.json): `data/faq.json`

### Other components

- **Visitor**

## Connections

- Visitor → Home Page: browses
- Page Runtime → Shared Header: loads (evidence: `js/main.js`)
- Page Runtime → Shared Footer: loads (evidence: `js/main.js`)
- Page Runtime → Project Renderer: invokes (evidence: `js/main.js`)
- Project Renderer → Project Records: fetches (evidence: `js/main.js`)
- Page Runtime → FAQ Renderer: invokes (evidence: `js/main.js`)
- Page Runtime → Service Views: invokes (evidence: `js/main.js`)
