# jasmitha0805/disaster-relief-resource-allocation-system architecture

> Architecture diagram of the GitHub repository jasmitha0805/disaster-relief-resource-allocation-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jasmitha0805/disaster-relief-resource-allocation-system
- Repository: https://github.com/jasmitha0805/disaster-relief-resource-allocation-system

## Overview

This is a browser-based disaster-relief coordination application. Its documented user workflow is to report incidents and request help, then review relief activity through a dashboard with statistics and visualizations. The sampled JavaScript also shows local authentication/session handling and dashboard reads from browser storage. The README documents resource management as a capability, but the available excerpts do not show its implementation details. Relationships below are limited to those visible in the excerpts or stated in the README.

Main entry points: [`Disaster-Relief-Resource-Allocation-System/js/script.js`](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js) (Authentication), [`Disaster-Relief-Resource-Allocation-System/index.html`](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/index.html) (Web application)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access"]
  node_app["Web application<br/>[index.html]"]
  node_auth["Authentication<br/>[script.js]"]
end

subgraph group_operations["Relief operations"]
  node_reports["Disaster reporting<br/>[script.js]"]
  node_requests["Help requests<br/>[script.js]"]
  node_resources["Resource management<br/>[script.js]"]
  node_storage[("Browser storage")]
end

subgraph group_insight["Activity dashboard"]
  node_dashboard["Dashboard feed<br/>[script.js]"]
  node_charts["Data visualizations<br/>[script.js]"]
end

node_user(("Relief user"))

node_user -->|"uses"| node_app
node_user -->|"reports incidents"| node_reports
node_user -->|"requests help"| node_requests
node_user -->|"manages resources"| node_resources
node_user -->|"tracks activity"| node_dashboard
node_user -->|"views data"| node_charts
node_app -.->|"gates access"| node_auth
node_auth -->|"reads session"| node_storage
node_auth -->|"stores accounts"| node_storage
node_reports -->|"reads reports"| node_storage
node_dashboard -->|"reads records"| node_storage
node_dashboard -->|"renders charts"| node_charts

click node_app "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/index.html"
click node_auth "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js"
click node_reports "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js"
click node_requests "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js"
click node_resources "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js"
click node_dashboard "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js"
click node_charts "https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/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_app,node_auth,node_user toneBlue
class node_reports,node_requests,node_resources,node_storage toneAmber
class node_dashboard,node_charts toneMint
```

## Components

### Access

- [Web application](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/index.html): `Disaster-Relief-Resource-Allocation-System/index.html`
- [Authentication](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`

### Relief operations

- [Disaster reporting](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`
- [Help requests](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`
- [Resource management](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`
- **Browser storage**

### Activity dashboard

- [Dashboard feed](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`
- [Data visualizations](https://github.com/jasmitha0805/disaster-relief-resource-allocation-system/blob/main/Disaster-Relief-Resource-Allocation-System/js/script.js): `Disaster-Relief-Resource-Allocation-System/js/script.js`

### Other components

- **Relief user**

## Connections

- Relief user → Web application: uses (evidence: `README.md`)
- Relief user → Disaster reporting: reports incidents (evidence: `README.md`)
- Relief user → Help requests: requests help (evidence: `README.md`)
- Relief user → Resource management: manages resources (evidence: `README.md`)
- Relief user → Dashboard feed: tracks activity (evidence: `README.md`)
- Relief user → Data visualizations: views data (evidence: `README.md`)
- Web application → Authentication: gates access
- Authentication → Browser storage: reads session (evidence: `Disaster-Relief-Resource-Allocation-System/js/script.js`)
- Authentication → Browser storage: stores accounts (evidence: `Disaster-Relief-Resource-Allocation-System/js/script.js`)
- Disaster reporting → Browser storage: reads reports (evidence: `Disaster-Relief-Resource-Allocation-System/js/script.js`)
- Dashboard feed → Browser storage: reads records (evidence: `Disaster-Relief-Resource-Allocation-System/js/script.js`)
- Dashboard feed → Data visualizations: renders charts (evidence: `Disaster-Relief-Resource-Allocation-System/js/script.js`)
