# prasanth1404/prasanth-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/prasanth1404/prasanth-portfolio
- Repository: https://github.com/prasanth1404/prasanth-portfolio

## Overview

prasanth.space is a static personal portfolio. Visitors browse its pages to explore projects and skills; project detail pages also present project information and interactive architecture diagrams. The README documents HTTPS delivery through CloudFront from private S3, with ACM certificates. The sampled JavaScript shows shared page rendering and diagram behavior, but page-to-script wiring and the data files’ loading mechanism are not shown, so those links are marked unverified.

Main entry points: [`site/js/site.js`](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/site.js) (Shared rendering), [`site`](https://github.com/prasanth1404/prasanth-portfolio/tree/master/site) (Portfolio pages), [`site/js/projects-data.js`](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/projects-data.js) (Project data), [`site/js/skills-data.js`](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/skills-data.js) (Skills data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio content"]
  node_pages["Portfolio pages"]
  node_projectdata[("Project data<br/>[projects-data.js]")]
  node_skillsdata[("Skills data<br/>[skills-data.js]")]
  node_assets["Images and styles"]
end

subgraph group_presentation["Page presentation"]
  node_rendering["Shared rendering<br/>[site.js]"]
  node_diagrams["Interactive diagrams<br/>[diagram.js]"]
end

subgraph group_delivery["Site delivery"]
  node_cloudfront["CloudFront"]
  node_s3[("Private S3")]
  node_acm["ACM certificate"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests site"| node_cloudfront
node_cloudfront -->|"reads content"| node_s3
node_acm -->|"secures HTTPS"| node_cloudfront
node_s3 -->|"serves files"| node_pages
node_pages -.->|"loads scripts"| node_rendering
node_rendering -.->|"reads projects"| node_projectdata
node_rendering -.->|"reads skills"| node_skillsdata
node_rendering -->|"mounts diagrams"| node_diagrams
node_s3 -->|"serves files"| node_assets

click node_pages "https://github.com/prasanth1404/prasanth-portfolio/tree/master/site"
click node_projectdata "https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/projects-data.js"
click node_skillsdata "https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/skills-data.js"
click node_rendering "https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/site.js"
click node_diagrams "https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/diagram.js"
click node_assets "https://github.com/prasanth1404/prasanth-portfolio/tree/master/site/images"

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_pages,node_projectdata,node_skillsdata,node_assets toneBlue
class node_rendering,node_diagrams toneAmber
class node_cloudfront,node_s3,node_acm toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio content

- [Portfolio pages](https://github.com/prasanth1404/prasanth-portfolio/tree/master/site): `site`
- [Project data](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/projects-data.js): `site/js/projects-data.js`
- [Skills data](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/skills-data.js): `site/js/skills-data.js`
- [Images and styles](https://github.com/prasanth1404/prasanth-portfolio/tree/master/site/images): `site/images`

### Page presentation

- [Shared rendering](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/site.js): `site/js/site.js`
- [Interactive diagrams](https://github.com/prasanth1404/prasanth-portfolio/blob/master/site/js/diagram.js): `site/js/diagram.js`

### Site delivery

- **CloudFront**
- **Private S3**
- **ACM certificate**

### Other components

- **Visitor**

## Connections

- Visitor → CloudFront: requests site (evidence: `README.md`)
- CloudFront → Private S3: reads content (evidence: `README.md`)
- ACM certificate → CloudFront: secures HTTPS (evidence: `README.md`)
- Private S3 → Portfolio pages: serves files (evidence: `README.md`)
- Portfolio pages → Shared rendering: loads scripts
- Shared rendering → Project data: reads projects
- Shared rendering → Skills data: reads skills
- Shared rendering → Interactive diagrams: mounts diagrams (evidence: `site/js/site.js`)
- Private S3 → Images and styles: serves files (evidence: `README.md`)
