# rahamanmursalim-create/sih26002-ne-logistics-intelligence architecture

> Architecture diagram of the GitHub repository rahamanmursalim-create/sih26002-ne-logistics-intelligence, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence
- Repository: https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence

## Overview

NER-LINK is a logistics decision-support prototype that evaluates routes against mission details and contextual risks, then presents comparisons and recommendations. The README documents a frontend-led workflow using road routing, government alerts, weather, terrain/accessibility and disaster-news research; sampled backend code implements the SACHET proxy and news endpoint. The frontend was not sampled, so its internal routing and scoring relationships are shown only where the README explicitly describes them.

Main entry points: [`index.html`](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/index.html) (Planning Interface), [`server.js`](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js) (SACHET API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_planning["Mission Planning"]
  node_interface["Planning Interface<br/>[index.html]"]
  node_road_routes["Road Routes"]
  node_route_review["Route Assessment<br/>[index.html]"]
end

subgraph group_risk["Risk Intelligence"]
  node_cap_feed["SACHET / NDMA"]
  node_weather["Weather Context"]
  node_terrain["Terrain &amp; Access"]
  node_atria["Atria AI Service"]
end

subgraph group_backend["Backend Services"]
  node_sachet_service["SACHET API<br/>[server.js]"]
  node_news_endpoint["Disaster News API<br/>[server.js]"]
  node_health_status["Health &amp; Status<br/>[server.js]"]
end

node_operator(("Logistics User"))

node_operator -->|"enters mission"| node_interface
node_interface -->|"requests routes"| node_road_routes
node_interface -->|"requests alerts"| node_sachet_service
node_sachet_service -->|"retrieves feed"| node_cap_feed
node_sachet_service -->|"returns alerts"| node_interface
node_interface -->|"gets forecast"| node_weather
node_interface -->|"assesses context"| node_terrain
node_interface -.->|"requests research"| node_news_endpoint
node_news_endpoint -->|"queries AI"| node_atria
node_interface -->|"compares evidence"| node_route_review
node_sachet_service -->|"exposes status"| node_health_status

click node_interface "https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/index.html"
click node_route_review "https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/index.html"
click node_sachet_service "https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js"
click node_news_endpoint "https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js"
click node_health_status "https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/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_interface,node_road_routes,node_route_review,node_operator toneBlue
class node_cap_feed,node_weather,node_terrain,node_atria toneAmber
class node_sachet_service,node_news_endpoint,node_health_status toneMint
```

## Components

### Mission Planning

- [Planning Interface](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/index.html): `index.html`
- **Road Routes**
- [Route Assessment](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/index.html): `index.html`

### Risk Intelligence

- **SACHET / NDMA**
- **Weather Context**
- **Terrain & Access**
- **Atria AI Service**

### Backend Services

- [SACHET API](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js): `server.js`
- [Disaster News API](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js): `server.js`
- [Health & Status](https://github.com/rahamanmursalim-create/sih26002-ne-logistics-intelligence/blob/main/server.js): `server.js`

### Other components

- **Logistics User**

## Connections

- Logistics User → Planning Interface: enters mission (evidence: `README.md`)
- Planning Interface → Road Routes: requests routes (evidence: `README.md`)
- Planning Interface → SACHET API: requests alerts (evidence: `README.md`)
- SACHET API → SACHET / NDMA: retrieves feed (evidence: `README.md`)
- SACHET API → Planning Interface: returns alerts (evidence: `README.md`)
- Planning Interface → Weather Context: gets forecast (evidence: `README.md`)
- Planning Interface → Terrain & Access: assesses context (evidence: `README.md`)
- Planning Interface → Disaster News API: requests research
- Disaster News API → Atria AI Service: queries AI (evidence: `server.js`)
- Planning Interface → Route Assessment: compares evidence (evidence: `README.md`)
- SACHET API → Health & Status: exposes status (evidence: `server.js`)
