# akashmadavi2001/portfolio-react.js architecture

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

- Interactive diagram: https://gitdiagram.com/akashmadavi2001/portfolio-react.js
- Repository: https://github.com/akashmadavi2001/portfolio-react.js

## Overview

This is a single-page personal portfolio. A visitor enters through the React mount, then the app presents Home, About, Projects, Skills, and Contact sections; the Contact form sends messages through EmailJS and displays success or failure feedback. The sampled files show section composition and form behavior. The project cards link to external project pages, but those destinations are not modeled individually. Performance reporting is wired at startup, though no callback is supplied. Unsampled styling and assets are omitted.

Main entry points: [`src/App.jsx`](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/App.jsx) (Portfolio shell), [`src/index.js`](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/index.js) (React mount), [`src/Contact/Contact.jsx`](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Contact/Contact.jsx) (Contact form), [`src/reportWebVitals.js`](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/reportWebVitals.js) (Performance reporting)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_mount["React mount<br/>[index.js]"]
  node_app_shell["Portfolio shell<br/>[App.jsx]"]
  node_vitals["Performance reporting<br/>[reportWebVitals.js]"]
end

subgraph group_profile["Portfolio content"]
  node_home["Introduction<br/>[Home.jsx]"]
  node_about["Profile details<br/>[About.jsx]"]
  node_projects["Project showcase<br/>[Project.jsx]"]
  node_skills["Skills overview<br/>[Skills.jsx]"]
end

subgraph group_contact["Contact and feedback"]
  node_contact_form["Contact form<br/>[Contact.jsx]"]
end

node_visitor(("Visitor"))
node_emailjs["EmailJS service"]
node_toast["Toast feedback"]
node_web_vitals["web-vitals library"]

node_visitor -->|"opens portfolio"| node_mount
node_mount -->|"renders"| node_app_shell
node_app_shell -->|"renders"| node_home
node_app_shell -->|"renders"| node_about
node_app_shell -->|"renders"| node_projects
node_app_shell -->|"renders"| node_skills
node_app_shell -->|"renders"| node_contact_form
node_contact_form -->|"sends message"| node_emailjs
node_contact_form -->|"shows feedback"| node_toast
node_mount -->|"invokes reporting"| node_vitals
node_vitals -->|"loads metrics"| node_web_vitals

click node_mount "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/index.js"
click node_app_shell "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/App.jsx"
click node_home "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Home/Home.jsx"
click node_about "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/About/About.jsx"
click node_projects "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Project/Project.jsx"
click node_skills "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Skills/Skills.jsx"
click node_contact_form "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Contact/Contact.jsx"
click node_vitals "https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/reportWebVitals.js"

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_mount,node_app_shell,node_vitals toneBlue
class node_home,node_about,node_projects,node_skills toneAmber
class node_contact_form toneMint
class node_visitor,node_emailjs,node_toast,node_web_vitals toneIndigo
```

## Components

### Application shell

- [React mount](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/index.js): `src/index.js`
- [Portfolio shell](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/App.jsx): `src/App.jsx`
- [Performance reporting](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/reportWebVitals.js): `src/reportWebVitals.js`

### Portfolio content

- [Introduction](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Home/Home.jsx): `src/Home/Home.jsx`
- [Profile details](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/About/About.jsx): `src/About/About.jsx`
- [Project showcase](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Project/Project.jsx): `src/Project/Project.jsx`
- [Skills overview](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Skills/Skills.jsx): `src/Skills/Skills.jsx`

### Contact and feedback

- [Contact form](https://github.com/akashmadavi2001/portfolio-react.js/blob/main/src/Contact/Contact.jsx): `src/Contact/Contact.jsx`

### Other components

- **Visitor**
- **EmailJS service**
- **Toast feedback**
- **web-vitals library**

## Connections

- Visitor → React mount: opens portfolio (evidence: `src/index.js`)
- React mount → Portfolio shell: renders (evidence: `src/index.js`)
- Portfolio shell → Introduction: renders (evidence: `src/App.jsx`)
- Portfolio shell → Profile details: renders (evidence: `src/App.jsx`)
- Portfolio shell → Project showcase: renders (evidence: `src/App.jsx`)
- Portfolio shell → Skills overview: renders (evidence: `src/App.jsx`)
- Portfolio shell → Contact form: renders (evidence: `src/App.jsx`)
- Contact form → EmailJS service: sends message (evidence: `src/Contact/Contact.jsx`)
- Contact form → Toast feedback: shows feedback (evidence: `src/Contact/Contact.jsx`)
- React mount → Performance reporting: invokes reporting (evidence: `src/index.js`)
- Performance reporting → web-vitals library: loads metrics (evidence: `src/reportWebVitals.js`)
