# shreyamee44-svg/suraksha-ar architecture

> Architecture diagram of the GitHub repository shreyamee44-svg/suraksha-ar, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shreyamee44-svg/suraksha-ar
- Repository: https://github.com/shreyamee44-svg/suraksha-ar

## Overview

SURAKSHA-AR is documented as a mobile, AR-based industrial safety training simulator. Workers choose a language and role, select a safety module, practice a scenario, complete tasks and an assessment, then follow a pass/retry path; passing can lead to a certificate and QR verification. Administrators log in to monitor training and performance. The README documents these capabilities and a backend/API/data architecture, but no implementation source was provided, so the graph reflects documented relationships only; all repository nodes point to the available README.

Main entry points: [`README.md`](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md) (Module Selection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access &amp; Roles"]
  node_language["Language Selection<br/>[README.md]"]
  node_role["Role Selection<br/>[README.md]"]
end

subgraph group_training["Worker Training"]
  node_module_select["Module Selection<br/>[README.md]"]
  node_fire["Fire Scenario<br/>[README.md]"]
  node_gas["Gas Scenario<br/>[README.md]"]
  node_ar["AR Experience<br/>[README.md]"]
  node_camera["Smartphone Camera<br/>[README.md]"]
  node_tasks["Interactive Tasks<br/>[README.md]"]
end

subgraph group_outcomes["Assessment &amp; Credentials"]
  node_assessment["Safety Assessment<br/>[README.md]"]
  node_score["Score &amp; Status<br/>[README.md]"]
  node_retry["Retry Training<br/>[README.md]"]
  node_certificate["Digital Certificate<br/>[README.md]"]
  node_qr["QR Verification<br/>[README.md]"]
end

subgraph group_admin["Administration &amp; Platform"]
  node_admin_login["Admin Login<br/>[README.md]"]
  node_dashboard["Admin Dashboard<br/>[README.md]"]
  node_analytics["Training Analytics<br/>[README.md]"]
  node_backend["Backend &amp; APIs<br/>[README.md]"]
  node_training_data[("Training Data<br/>[README.md]")]
end

node_worker(("Worker"))
node_admin_user(("Administrator"))

node_worker -->|"starts at"| node_language
node_language -->|"continues to"| node_role
node_role -->|"selects worker path"| node_module_select
node_module_select -->|"selects module"| node_fire
node_module_select -->|"selects module"| node_gas
node_fire -->|"practices in"| node_ar
node_gas -->|"practices in"| node_ar
node_camera -->|"provides view"| node_ar
node_ar -->|"presents tasks"| node_tasks
node_tasks -->|"leads to"| node_assessment
node_assessment -->|"calculates"| node_score
node_score -->|"retry outcome"| node_retry
node_retry -->|"repeats training"| node_module_select
node_score -->|"passing score enables"| node_certificate
node_certificate -->|"supports verification"| node_qr
node_admin_user -->|"logs in"| node_admin_login
node_admin_login -->|"opens"| node_dashboard
node_dashboard -->|"shows"| node_analytics
node_dashboard -->|"uses"| node_backend
node_backend -->|"manages"| node_training_data

click node_language "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_role "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_module_select "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_fire "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_gas "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_ar "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_camera "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_tasks "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_assessment "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_score "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_retry "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_certificate "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_qr "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_admin_login "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_dashboard "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_analytics "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_backend "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"
click node_training_data "https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md"

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_language,node_role toneBlue
class node_module_select,node_fire,node_gas,node_ar,node_camera,node_tasks toneAmber
class node_assessment,node_score,node_retry,node_certificate,node_qr toneMint
class node_admin_login,node_dashboard,node_analytics,node_backend,node_training_data,node_worker toneRose
class node_admin_user toneIndigo
```

## Components

### Access & Roles

- [Language Selection](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Role Selection](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`

### Worker Training

- [Module Selection](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Fire Scenario](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Gas Scenario](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [AR Experience](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Smartphone Camera](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Interactive Tasks](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`

### Assessment & Credentials

- [Safety Assessment](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Score & Status](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Retry Training](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Digital Certificate](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [QR Verification](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`

### Administration & Platform

- [Admin Login](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Admin Dashboard](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Training Analytics](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Backend & APIs](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`
- [Training Data](https://github.com/shreyamee44-svg/suraksha-ar/blob/main/README.md): `README.md`

### Other components

- **Worker**
- **Administrator**

## Connections

- Worker → Language Selection: starts at (evidence: `README.md`)
- Language Selection → Role Selection: continues to (evidence: `README.md`)
- Role Selection → Module Selection: selects worker path (evidence: `README.md`)
- Module Selection → Fire Scenario: selects module (evidence: `README.md`)
- Module Selection → Gas Scenario: selects module (evidence: `README.md`)
- Fire Scenario → AR Experience: practices in (evidence: `README.md`)
- Gas Scenario → AR Experience: practices in (evidence: `README.md`)
- Smartphone Camera → AR Experience: provides view (evidence: `README.md`)
- AR Experience → Interactive Tasks: presents tasks (evidence: `README.md`)
- Interactive Tasks → Safety Assessment: leads to (evidence: `README.md`)
- Safety Assessment → Score & Status: calculates (evidence: `README.md`)
- Score & Status → Retry Training: retry outcome (evidence: `README.md`)
- Retry Training → Module Selection: repeats training (evidence: `README.md`)
- Score & Status → Digital Certificate: passing score enables (evidence: `README.md`)
- Digital Certificate → QR Verification: supports verification (evidence: `README.md`)
- Administrator → Admin Login: logs in (evidence: `README.md`)
- Admin Login → Admin Dashboard: opens (evidence: `README.md`)
- Admin Dashboard → Training Analytics: shows (evidence: `README.md`)
- Admin Dashboard → Backend & APIs: uses (evidence: `README.md`)
- Backend & APIs → Training Data: manages (evidence: `README.md`)
