# d-guda/dhruv-guda-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/d-guda/dhruv-guda-portfolio
- Repository: https://github.com/d-guda/dhruv-guda-portfolio

## Overview

This repository is a cybersecurity and web-development project portfolio, not one integrated application. Its user-facing workflow is to browse showcased work and follow links to reports, source code, or a live site. The web-security lab is the only sampled executable product: its browser forms submit registration and login requests to a local server, which validates input and accesses SQLite. Other branches are documented assessments, models, and competition work. Unsampled projects are represented only at the directory level; their internal workflows and connections are not inferred.

Main entry points: [`README.md`](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/README.md) (Project portfolio), [`coursework`](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework) (Risk analysis), [`coursework/mojang-risk-assessment`](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/mojang-risk-assessment) (Mojang assessment), [`competitions/texas-am-system-fall-ctf-disarm-me`](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/competitions/texas-am-system-fall-ctf-disarm-me) (Disarm Me CTF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_competition["Competition Work"]
  node_ctf["Disarm Me CTF"]
  node_ctf_report["CTF report"]
end

subgraph group_risk["Risk Assessments"]
  node_mojang["Mojang assessment"]
  node_financial["Financial risk"]
  node_soft["S.O.F.T. threat model"]
  node_risk_stages["Risk analysis"]
end

subgraph group_lab["Web Security Lab"]
  node_juice_analysis["Juice Shop analysis"]
  node_browser["Lab browser forms"]
  node_client["Form client<br/>[app.js]"]
  node_server["Lab HTTP server<br/>[server.js]"]
  node_users_db[("Users database<br/>[server.js]")]
end

subgraph group_website["Personal Website"]
  node_knights["N-1 Knights website"]
  node_web_content["Markdown and JSON content"]
end

node_visitor(("Portfolio visitor"))
node_portfolio["Project portfolio<br/>[README.md]"]

node_visitor -->|"browses"| node_portfolio
node_portfolio -->|"showcases"| node_ctf
node_ctf -->|"links report"| node_ctf_report
node_portfolio -->|"showcases"| node_mojang
node_portfolio -->|"showcases"| node_financial
node_portfolio -->|"showcases"| node_soft
node_portfolio -->|"showcases"| node_juice_analysis
node_portfolio -->|"showcases"| node_knights
node_mojang -->|"identifies assets"| node_risk_stages
node_mojang -->|"models residual risk"| node_risk_stages
node_financial -->|"proposes safeguards"| node_risk_stages
node_soft -->|"scores threats"| node_risk_stages
node_browser -.->|"runs scripts"| node_client
node_client -->|"posts credentials"| node_server
node_server -->|"reads and writes"| node_users_db
node_knights -->|"uses content"| node_web_content

click node_portfolio "https://github.com/d-guda/dhruv-guda-portfolio/blob/main/README.md"
click node_ctf "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/competitions/texas-am-system-fall-ctf-disarm-me"
click node_ctf_report "https://github.com/d-guda/dhruv-guda-portfolio/blob/main/competitions/texas-am-system-fall-ctf-disarm-me/Texas_A_M_System_Fall_CTF___Disarm_Me___ReadMe.pdf"
click node_mojang "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/mojang-risk-assessment"
click node_financial "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/financial-services-risk-assessment"
click node_soft "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/soft-threat-model"
click node_risk_stages "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework"
click node_juice_analysis "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/web-security-lab/reports"
click node_browser "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/web-security-lab/login-lab"
click node_client "https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/app.js"
click node_server "https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/server.js"
click node_users_db "https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/server.js"
click node_knights "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/personal-projects/n1-knights-website"
click node_web_content "https://github.com/d-guda/dhruv-guda-portfolio/tree/main/personal-projects/n1-knights-website"

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_ctf,node_ctf_report toneBlue
class node_mojang,node_financial,node_soft,node_risk_stages toneAmber
class node_juice_analysis,node_browser,node_client,node_server,node_users_db toneMint
class node_knights,node_web_content toneRose
class node_visitor toneIndigo
class node_portfolio toneTeal
```

## Components

### Competition Work

- [Disarm Me CTF](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/competitions/texas-am-system-fall-ctf-disarm-me): `competitions/texas-am-system-fall-ctf-disarm-me`
- [CTF report](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/competitions/texas-am-system-fall-ctf-disarm-me/Texas_A_M_System_Fall_CTF___Disarm_Me___ReadMe.pdf): `competitions/texas-am-system-fall-ctf-disarm-me/Texas_A_M_System_Fall_CTF___Disarm_Me___ReadMe.pdf`

### Risk Assessments

- [Mojang assessment](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/mojang-risk-assessment): `coursework/mojang-risk-assessment`
- [Financial risk](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/financial-services-risk-assessment): `coursework/financial-services-risk-assessment`
- [S.O.F.T. threat model](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/soft-threat-model): `coursework/soft-threat-model`
- [Risk analysis](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework): `coursework`

### Web Security Lab

- [Juice Shop analysis](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/web-security-lab/reports): `coursework/web-security-lab/reports`
- [Lab browser forms](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/coursework/web-security-lab/login-lab): `coursework/web-security-lab/login-lab`
- [Form client](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/app.js): `coursework/web-security-lab/login-lab/app.js`
- [Lab HTTP server](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/server.js): `coursework/web-security-lab/login-lab/server.js`
- [Users database](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/coursework/web-security-lab/login-lab/server.js): `coursework/web-security-lab/login-lab/server.js`

### Personal Website

- [N-1 Knights website](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/personal-projects/n1-knights-website): `personal-projects/n1-knights-website`
- [Markdown and JSON content](https://github.com/d-guda/dhruv-guda-portfolio/tree/main/personal-projects/n1-knights-website): `personal-projects/n1-knights-website`

### Other components

- **Portfolio visitor**
- [Project portfolio](https://github.com/d-guda/dhruv-guda-portfolio/blob/main/README.md): `README.md`

## Connections

- Portfolio visitor → Project portfolio: browses (evidence: `README.md`)
- Project portfolio → Disarm Me CTF: showcases (evidence: `README.md`)
- Disarm Me CTF → CTF report: links report (evidence: `README.md`)
- Project portfolio → Mojang assessment: showcases (evidence: `README.md`)
- Project portfolio → Financial risk: showcases (evidence: `README.md`)
- Project portfolio → S.O.F.T. threat model: showcases (evidence: `README.md`)
- Project portfolio → Juice Shop analysis: showcases (evidence: `README.md`)
- Project portfolio → N-1 Knights website: showcases (evidence: `README.md`)
- Mojang assessment → Risk analysis: identifies assets (evidence: `README.md`)
- Mojang assessment → Risk analysis: models residual risk (evidence: `README.md`)
- Financial risk → Risk analysis: proposes safeguards (evidence: `README.md`)
- S.O.F.T. threat model → Risk analysis: scores threats (evidence: `README.md`)
- Lab browser forms → Form client: runs scripts
- Form client → Lab HTTP server: posts credentials (evidence: `coursework/web-security-lab/login-lab/app.js`)
- Lab HTTP server → Users database: reads and writes (evidence: `coursework/web-security-lab/login-lab/server.js`)
- N-1 Knights website → Markdown and JSON content: uses content (evidence: `README.md`)
