# shweta703/updatedsocareind architecture

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

- Interactive diagram: https://gitdiagram.com/shweta703/updatedsocareind
- Repository: https://github.com/shweta703/updatedsocareind

## Overview

SoCare is an organizational website with informational pages, interactive browser features, and contact channels. The visitor’s main journey is to browse the site and submit a contact or help inquiry; the sampled browser code validates the form and sends it to Web3Forms. Separately, the Node server exposes a contact API that emails submissions over SMTP. The tree identifies the site’s content areas, but no README or HTML excerpts were supplied, so page-to-page navigation and unsampled page capabilities are not inferred.

Main entry points: [`server.js`](https://github.com/shweta703/updatedsocareind/blob/main/server.js) (Express site server), [`js/script.js`](https://github.com/shweta703/updatedsocareind/blob/main/js/script.js) (Site interactions), [`index.html`](https://github.com/shweta703/updatedsocareind/blob/main/index.html) (Home), [`about-socare-ind.html`](https://github.com/shweta703/updatedsocareind/blob/main/about-socare-ind.html) (About SoCare)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website content"]
  node_home["Home<br/>[index.html]"]
  node_about["About SoCare"]
  node_programs["Programs &amp; facilities"]
  node_mentoring["Mentoring"]
  node_help["Get involved"]
  node_alumni["Alumni<br/>[alumni.html]"]
  node_locations["Karnataka locations"]
end

subgraph group_browser["Browser interactions"]
  node_browser_js["Site interactions<br/>[script.js]"]
  node_runtime_config["Runtime config fallback<br/>[runtime-config.js]"]
end

subgraph group_backend["Contact services"]
  node_server["Express site server<br/>[server.js]"]
end

node_visitor(("Site visitor"))
node_web3forms["Web3Forms"]
node_smtp["SMTP mail service"]

node_visitor -->|"requests pages"| node_server
node_server -->|"serves static"| node_home
node_server -->|"serves static"| node_about
node_server -->|"serves static"| node_programs
node_server -->|"serves static"| node_mentoring
node_server -->|"serves static"| node_help
node_server -->|"serves static"| node_alumni
node_server -->|"serves static"| node_locations
node_visitor -.->|"uses interactions"| node_browser_js
node_browser_js -->|"submits form"| node_web3forms
node_server -->|"sends email"| node_smtp

click node_home "https://github.com/shweta703/updatedsocareind/blob/main/index.html"
click node_about "https://github.com/shweta703/updatedsocareind/blob/main/about-socare-ind.html"
click node_programs "https://github.com/shweta703/updatedsocareind/blob/main/programs-facilities.html"
click node_mentoring "https://github.com/shweta703/updatedsocareind/blob/main/mentor-young-minds.html"
click node_help "https://github.com/shweta703/updatedsocareind/blob/main/how-you-can-help.html"
click node_alumni "https://github.com/shweta703/updatedsocareind/blob/main/alumni.html"
click node_locations "https://github.com/shweta703/updatedsocareind/blob/main/karnataka-locations-map.html"
click node_browser_js "https://github.com/shweta703/updatedsocareind/blob/main/js/script.js"
click node_runtime_config "https://github.com/shweta703/updatedsocareind/blob/main/js/runtime-config.js"
click node_server "https://github.com/shweta703/updatedsocareind/blob/main/server.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_about,node_programs,node_mentoring,node_help,node_alumni,node_locations toneBlue
class node_browser_js,node_runtime_config toneAmber
class node_server toneMint
class node_visitor,node_web3forms,node_smtp toneIndigo
```

## Components

### Website content

- [Home](https://github.com/shweta703/updatedsocareind/blob/main/index.html): `index.html`
- [About SoCare](https://github.com/shweta703/updatedsocareind/blob/main/about-socare-ind.html): `about-socare-ind.html`
- [Programs & facilities](https://github.com/shweta703/updatedsocareind/blob/main/programs-facilities.html): `programs-facilities.html`
- [Mentoring](https://github.com/shweta703/updatedsocareind/blob/main/mentor-young-minds.html): `mentor-young-minds.html`
- [Get involved](https://github.com/shweta703/updatedsocareind/blob/main/how-you-can-help.html): `how-you-can-help.html`
- [Alumni](https://github.com/shweta703/updatedsocareind/blob/main/alumni.html): `alumni.html`
- [Karnataka locations](https://github.com/shweta703/updatedsocareind/blob/main/karnataka-locations-map.html): `karnataka-locations-map.html`

### Browser interactions

- [Site interactions](https://github.com/shweta703/updatedsocareind/blob/main/js/script.js): `js/script.js`
- [Runtime config fallback](https://github.com/shweta703/updatedsocareind/blob/main/js/runtime-config.js): `js/runtime-config.js`

### Contact services

- [Express site server](https://github.com/shweta703/updatedsocareind/blob/main/server.js): `server.js`

### Other components

- **Site visitor**
- **Web3Forms**
- **SMTP mail service**

## Connections

- Site visitor → Express site server: requests pages (evidence: `server.js`)
- Express site server → Home: serves static (evidence: `server.js`)
- Express site server → About SoCare: serves static (evidence: `server.js`)
- Express site server → Programs & facilities: serves static (evidence: `server.js`)
- Express site server → Mentoring: serves static (evidence: `server.js`)
- Express site server → Get involved: serves static (evidence: `server.js`)
- Express site server → Alumni: serves static (evidence: `server.js`)
- Express site server → Karnataka locations: serves static (evidence: `server.js`)
- Site visitor → Site interactions: uses interactions
- Site interactions → Web3Forms: submits form (evidence: `js/script.js`)
- Express site server → SMTP mail service: sends email (evidence: `server.js`)
