# mdeva23/portfolio-website architecture

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

- Interactive diagram: https://gitdiagram.com/mdeva23/portfolio-website
- Repository: https://github.com/mdeva23/portfolio-website

## Overview

SSD Portfolio is a single-page personal portfolio backed by an ASP.NET Core API. A visitor loads the site, whose JavaScript fetches portfolio data and renders profile, project, skills, experience, education, and certificate sections; visitors can also submit a contact form. The API defines those datasets and validates contact submissions, while EmailJS handles email in the browser. The source excerpts show several API fetches and backend definitions; README documentation supports the remaining endpoints and contact integration.

Main entry points: [`Controllers/PortfolioController.cs`](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs) (Portfolio Endpoints), [`wwwroot/js/app.js`](https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/js/app.js) (Browser Application), [`wwwroot/index.html`](https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/index.html) (Portfolio Page), [`Program.cs`](https://github.com/mdeva23/portfolio-website/blob/main/Program.cs) (ASP.NET Core Host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hosting["Web Hosting"]
  node_host["ASP.NET Core Host<br/>[Program.cs]"]
end

subgraph group_api["Portfolio API"]
  node_api_controller["Portfolio Endpoints"]
  node_data_models["Portfolio Data Models<br/>[Portfolio.cs]"]
  node_profile["Profile Data"]
  node_projects["Project Data"]
  node_skills["Skills Data"]
  node_experience["Experience Data"]
  node_education["Education Data"]
  node_certificates["Certificate Data"]
end

subgraph group_frontend["Portfolio Interface"]
  node_page["Portfolio Page<br/>[index.html]"]
  node_styles["Themes and Motion<br/>[styles.css]"]
  node_browser_app["Browser Application<br/>[app.js]"]
  node_built_app["Published Browser Script<br/>[app.js]"]
end

subgraph group_contact["Contact"]
  node_contact_submit["Contact Submission"]
  node_emailjs["EmailJS"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests site"| node_host
node_host -->|"serves static page"| node_page
node_page -.->|"loads script"| node_browser_app
node_page -.->|"loads styles"| node_styles
node_browser_app -->|"fetches API data"| node_api_controller
node_api_controller -->|"uses models"| node_data_models
node_api_controller -->|"serves info"| node_profile
node_api_controller -->|"serves projects"| node_projects
node_api_controller -->|"serves skills"| node_skills
node_api_controller -->|"serves experience"| node_experience
node_api_controller -->|"serves education"| node_education
node_api_controller -->|"serves certificates"| node_certificates
node_browser_app -.->|"posts contact"| node_contact_submit
node_browser_app -.->|"sends email"| node_emailjs
node_visitor -.->|"interacts with form"| node_browser_app

click node_host "https://github.com/mdeva23/portfolio-website/blob/main/Program.cs"
click node_page "https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/index.html"
click node_styles "https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/css/styles.css"
click node_browser_app "https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/js/app.js"
click node_built_app "https://github.com/mdeva23/portfolio-website/blob/main/out/wwwroot/js/app.js"
click node_api_controller "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_data_models "https://github.com/mdeva23/portfolio-website/blob/main/Models/Portfolio.cs"
click node_profile "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_projects "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_skills "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_experience "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_education "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_certificates "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"
click node_contact_submit "https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs"

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_host toneBlue
class node_api_controller,node_data_models,node_profile,node_projects,node_skills,node_experience,node_education,node_certificates toneAmber
class node_page,node_styles,node_browser_app,node_built_app toneMint
class node_contact_submit,node_emailjs toneRose
class node_visitor toneIndigo
```

## Components

### Web Hosting

- [ASP.NET Core Host](https://github.com/mdeva23/portfolio-website/blob/main/Program.cs): `Program.cs`

### Portfolio API

- [Portfolio Endpoints](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Portfolio Data Models](https://github.com/mdeva23/portfolio-website/blob/main/Models/Portfolio.cs): `Models/Portfolio.cs`
- [Profile Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Project Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Skills Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Experience Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Education Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- [Certificate Data](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`

### Portfolio Interface

- [Portfolio Page](https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/index.html): `wwwroot/index.html`
- [Themes and Motion](https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/css/styles.css): `wwwroot/css/styles.css`
- [Browser Application](https://github.com/mdeva23/portfolio-website/blob/main/wwwroot/js/app.js): `wwwroot/js/app.js`
- [Published Browser Script](https://github.com/mdeva23/portfolio-website/blob/main/out/wwwroot/js/app.js): `out/wwwroot/js/app.js`

### Contact

- [Contact Submission](https://github.com/mdeva23/portfolio-website/blob/main/Controllers/PortfolioController.cs): `Controllers/PortfolioController.cs`
- **EmailJS**

### Other components

- **Visitor**

## Connections

- Visitor → ASP.NET Core Host: requests site (evidence: `README.md`)
- ASP.NET Core Host → Portfolio Page: serves static page (evidence: `Program.cs`)
- Portfolio Page → Browser Application: loads script
- Portfolio Page → Themes and Motion: loads styles
- Browser Application → Portfolio Endpoints: fetches API data (evidence: `wwwroot/js/app.js`)
- Portfolio Endpoints → Portfolio Data Models: uses models (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Profile Data: serves info (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Project Data: serves projects (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Skills Data: serves skills (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Experience Data: serves experience (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Education Data: serves education (evidence: `Controllers/PortfolioController.cs`)
- Portfolio Endpoints → Certificate Data: serves certificates (evidence: `Controllers/PortfolioController.cs`)
- Browser Application → Contact Submission: posts contact (evidence: `README.md`)
- Browser Application → EmailJS: sends email (evidence: `README.md`)
- Visitor → Browser Application: interacts with form (evidence: `README.md`)
