# umesh49/zerotrace architecture

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

- Interactive diagram: https://gitdiagram.com/umesh49/zerotrace
- Repository: https://github.com/umesh49/zerotrace

## Overview

ZeroTrace is a React-based cybersecurity awareness platform for the Indian public. Visitors enter through the application shell, navigate routed learning and incident-response pages, and can use interactive security tools, quizzes, and threat information. The README also documents case studies, ZeroBot, tutorials, and news; some corresponding source files are not in the supplied tree, so their internals are not mapped. The graph follows visible app and route wiring and documented capabilities; it does not assume unshown API or data flows.

Main entry points: [`src/routes.jsx`](https://github.com/umesh49/zerotrace/blob/main/src/routes.jsx) (Route Dispatcher), [`src/App.jsx`](https://github.com/umesh49/zerotrace/blob/main/src/App.jsx) (App Layout), [`src/components/IndianLaws/IndianLaws.jsx`](https://github.com/umesh49/zerotrace/blob/main/src/components/IndianLaws/IndianLaws.jsx) (Indian Cyber Laws), [`src/components/ComplaintGuide/ComplaintGuide.jsx`](https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintGuide/ComplaintGuide.jsx) (Complaint Guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application Shell"]
  node_app["App Layout<br/>[App.jsx]"]
  node_routes["Route Dispatcher<br/>[routes.jsx]"]
  node_header["Navigation Header<br/>[Header.jsx]"]
  node_footer["Site Footer<br/>[Footer.jsx]"]
  node_home["Home Dashboard<br/>[Home.jsx]"]
end

subgraph group_learning["Learning and Guidance"]
  node_laws["Indian Cyber Laws<br/>[IndianLaws.jsx]"]
  node_lawdata["Law Reference Data<br/>[cyberlaws.js]"]
  node_complaintguide["Complaint Guide<br/>[ComplaintGuide.jsx]"]
  node_guidedata["Guide Content<br/>[tabsData.jsx]"]
  node_complaintform["Complaint Form<br/>[ComplaintForm.jsx]"]
  node_quiz["Cyber Awareness Quiz"]
  node_quizquestions["Quiz Questions<br/>[quizQuestions.js]"]
  node_casestudies["Cyber Case Studies<br/>[CaseStudy.jsx]"]
  node_chatbot["ZeroBot Assistant<br/>[Chatbot.jsx]"]
end

subgraph group_tools["Security Tools"]
  node_toolshub["Security Tools Hub<br/>[SecurityTools.jsx]"]
  node_individualtools["Interactive Security Tools"]
  node_checklist["Security Checklist"]
  node_checklistdata["Checklist Data<br/>[checklist.js]"]
end

subgraph group_insight["Threat Intelligence"]
  node_threatstats["Threat Statistics<br/>[ThreatStats.jsx]"]
  node_news["Security News<br/>[SecurityNews.jsx]"]
end

subgraph group_support["Platform Support"]
  node_faqs["FAQs<br/>[FAQ.jsx]"]
  node_faqdata["FAQ Content<br/>[FAQ_Data.js]"]
  node_contact["Contact and Reporting<br/>[Contact.jsx]"]
  node_privacy["Privacy Policy<br/>[PrivacyPolicy.jsx]"]
  node_terms["Terms of Service<br/>[TermsOfService.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_routes
node_visitor -->|"navigates"| node_routes
node_routes -->|"routes to"| node_home
node_routes -->|"routes to"| node_laws
node_routes -->|"routes to"| node_complaintguide
node_routes -->|"routes to"| node_complaintform
node_routes -->|"routes to"| node_toolshub
node_routes -->|"routes to"| node_individualtools
node_routes -->|"routes to"| node_quiz
node_routes -->|"routes to"| node_checklist
node_routes -->|"routes to"| node_chatbot
node_routes -.->|"routes to"| node_casestudies
node_routes -->|"routes to"| node_threatstats
node_routes -->|"routes to"| node_news
node_routes -->|"routes to"| node_faqs
node_routes -->|"routes to"| node_contact
node_routes -->|"routes to"| node_privacy
node_routes -->|"routes to"| node_terms
node_laws -->|"reads"| node_lawdata
node_complaintguide -->|"reads"| node_guidedata
node_quiz -.->|"uses"| node_quizquestions
node_checklist -->|"uses"| node_checklistdata
node_faqs -->|"reads"| node_faqdata

click node_app "https://github.com/umesh49/zerotrace/blob/main/src/App.jsx"
click node_routes "https://github.com/umesh49/zerotrace/blob/main/src/routes.jsx"
click node_header "https://github.com/umesh49/zerotrace/blob/main/src/components/Header/Header.jsx"
click node_footer "https://github.com/umesh49/zerotrace/blob/main/src/components/Footer/Footer.jsx"
click node_home "https://github.com/umesh49/zerotrace/blob/main/src/components/Home/Home.jsx"
click node_laws "https://github.com/umesh49/zerotrace/blob/main/src/components/IndianLaws/IndianLaws.jsx"
click node_lawdata "https://github.com/umesh49/zerotrace/blob/main/src/components/IndianLaws/cyberlaws.js"
click node_complaintguide "https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintGuide/ComplaintGuide.jsx"
click node_guidedata "https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintGuide/tabsData.jsx"
click node_complaintform "https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintForm/ComplaintForm.jsx"
click node_quiz "https://github.com/umesh49/zerotrace/blob/main/src/components/Quiz/CyberAwarenessQuiz.jsx"
click node_quizquestions "https://github.com/umesh49/zerotrace/blob/main/src/components/Quiz/quizQuestions.js"
click node_casestudies "https://github.com/umesh49/zerotrace/blob/main/src/components/CaseStudy/CaseStudy.jsx"
click node_chatbot "https://github.com/umesh49/zerotrace/blob/main/src/components/Chatbot/Chatbot.jsx"
click node_toolshub "https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityTools/SecurityTools.jsx"
click node_individualtools "https://github.com/umesh49/zerotrace/tree/main/src/components/SecurityTools/Tools"
click node_checklist "https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityChecklist/SecurityChecklist.jsx"
click node_checklistdata "https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityChecklist/checklist.js"
click node_threatstats "https://github.com/umesh49/zerotrace/blob/main/src/components/ThreatStats/ThreatStats.jsx"
click node_news "https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityNews/SecurityNews.jsx"
click node_faqs "https://github.com/umesh49/zerotrace/blob/main/src/components/FAQs/FAQ.jsx"
click node_faqdata "https://github.com/umesh49/zerotrace/blob/main/src/components/FAQs/FAQ_Data.js"
click node_contact "https://github.com/umesh49/zerotrace/blob/main/src/components/Contact/Contact.jsx"
click node_privacy "https://github.com/umesh49/zerotrace/blob/main/src/components/StaticPages/PrivacyPolicy.jsx"
click node_terms "https://github.com/umesh49/zerotrace/blob/main/src/components/StaticPages/TermsOfService.jsx"

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_routes,node_header,node_footer,node_home toneBlue
class node_laws,node_lawdata,node_complaintguide,node_guidedata,node_complaintform,node_quiz,node_quizquestions,node_casestudies,node_chatbot toneAmber
class node_toolshub,node_individualtools,node_checklist,node_checklistdata toneMint
class node_threatstats,node_news toneRose
class node_faqs,node_faqdata,node_contact,node_privacy,node_terms,node_visitor toneIndigo
```

## Components

### Application Shell

- [App Layout](https://github.com/umesh49/zerotrace/blob/main/src/App.jsx): `src/App.jsx`
- [Route Dispatcher](https://github.com/umesh49/zerotrace/blob/main/src/routes.jsx): `src/routes.jsx`
- [Navigation Header](https://github.com/umesh49/zerotrace/blob/main/src/components/Header/Header.jsx): `src/components/Header/Header.jsx`
- [Site Footer](https://github.com/umesh49/zerotrace/blob/main/src/components/Footer/Footer.jsx): `src/components/Footer/Footer.jsx`
- [Home Dashboard](https://github.com/umesh49/zerotrace/blob/main/src/components/Home/Home.jsx): `src/components/Home/Home.jsx`

### Learning and Guidance

- [Indian Cyber Laws](https://github.com/umesh49/zerotrace/blob/main/src/components/IndianLaws/IndianLaws.jsx): `src/components/IndianLaws/IndianLaws.jsx`
- [Law Reference Data](https://github.com/umesh49/zerotrace/blob/main/src/components/IndianLaws/cyberlaws.js): `src/components/IndianLaws/cyberlaws.js`
- [Complaint Guide](https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintGuide/ComplaintGuide.jsx): `src/components/ComplaintGuide/ComplaintGuide.jsx`
- [Guide Content](https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintGuide/tabsData.jsx): `src/components/ComplaintGuide/tabsData.jsx`
- [Complaint Form](https://github.com/umesh49/zerotrace/blob/main/src/components/ComplaintForm/ComplaintForm.jsx): `src/components/ComplaintForm/ComplaintForm.jsx`
- [Cyber Awareness Quiz](https://github.com/umesh49/zerotrace/blob/main/src/components/Quiz/CyberAwarenessQuiz.jsx): `src/components/Quiz/CyberAwarenessQuiz.jsx`
- [Quiz Questions](https://github.com/umesh49/zerotrace/blob/main/src/components/Quiz/quizQuestions.js): `src/components/Quiz/quizQuestions.js`
- [Cyber Case Studies](https://github.com/umesh49/zerotrace/blob/main/src/components/CaseStudy/CaseStudy.jsx): `src/components/CaseStudy/CaseStudy.jsx`
- [ZeroBot Assistant](https://github.com/umesh49/zerotrace/blob/main/src/components/Chatbot/Chatbot.jsx): `src/components/Chatbot/Chatbot.jsx`

### Security Tools

- [Security Tools Hub](https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityTools/SecurityTools.jsx): `src/components/SecurityTools/SecurityTools.jsx`
- [Interactive Security Tools](https://github.com/umesh49/zerotrace/tree/main/src/components/SecurityTools/Tools): `src/components/SecurityTools/Tools`
- [Security Checklist](https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityChecklist/SecurityChecklist.jsx): `src/components/SecurityChecklist/SecurityChecklist.jsx`
- [Checklist Data](https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityChecklist/checklist.js): `src/components/SecurityChecklist/checklist.js`

### Threat Intelligence

- [Threat Statistics](https://github.com/umesh49/zerotrace/blob/main/src/components/ThreatStats/ThreatStats.jsx): `src/components/ThreatStats/ThreatStats.jsx`
- [Security News](https://github.com/umesh49/zerotrace/blob/main/src/components/SecurityNews/SecurityNews.jsx): `src/components/SecurityNews/SecurityNews.jsx`

### Platform Support

- [FAQs](https://github.com/umesh49/zerotrace/blob/main/src/components/FAQs/FAQ.jsx): `src/components/FAQs/FAQ.jsx`
- [FAQ Content](https://github.com/umesh49/zerotrace/blob/main/src/components/FAQs/FAQ_Data.js): `src/components/FAQs/FAQ_Data.js`
- [Contact and Reporting](https://github.com/umesh49/zerotrace/blob/main/src/components/Contact/Contact.jsx): `src/components/Contact/Contact.jsx`
- [Privacy Policy](https://github.com/umesh49/zerotrace/blob/main/src/components/StaticPages/PrivacyPolicy.jsx): `src/components/StaticPages/PrivacyPolicy.jsx`
- [Terms of Service](https://github.com/umesh49/zerotrace/blob/main/src/components/StaticPages/TermsOfService.jsx): `src/components/StaticPages/TermsOfService.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → App Layout: opens (evidence: `src/App.jsx`)
- App Layout → Navigation Header: renders (evidence: `src/App.jsx`)
- App Layout → Site Footer: renders (evidence: `src/App.jsx`)
- App Layout → Route Dispatcher: renders (evidence: `src/App.jsx`)
- Visitor → Route Dispatcher: navigates (evidence: `src/routes.jsx`)
- Route Dispatcher → Home Dashboard: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Indian Cyber Laws: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Complaint Guide: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Complaint Form: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Security Tools Hub: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Interactive Security Tools: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Cyber Awareness Quiz: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Security Checklist: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → ZeroBot Assistant: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Cyber Case Studies: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Threat Statistics: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Security News: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → FAQs: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Contact and Reporting: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Privacy Policy: routes to (evidence: `src/routes.jsx`)
- Route Dispatcher → Terms of Service: routes to (evidence: `src/routes.jsx`)
- Indian Cyber Laws → Law Reference Data: reads (evidence: `src/components/IndianLaws/IndianLaws.jsx`)
- Complaint Guide → Guide Content: reads (evidence: `src/components/ComplaintGuide/ComplaintGuide.jsx`)
- Cyber Awareness Quiz → Quiz Questions: uses
- Security Checklist → Checklist Data: uses (evidence: `src/components/SecurityChecklist/SecurityChecklist.jsx`)
- FAQs → FAQ Content: reads (evidence: `src/components/FAQs/FAQ.jsx`)
