# souravkh/portfolio_creater_using_streamlit architecture

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

- Interactive diagram: https://gitdiagram.com/souravkh/portfolio_creater_using_streamlit
- Repository: https://github.com/souravkh/portfolio_creater_using_streamlit

## Overview

This is a data-driven Streamlit personal portfolio. Visitors use the shared sidebar to open either the About Me page or the experience timeline; each page loads its JSON content and renders it, while the About Me page also offers a resume download. The README additionally describes projects as a portfolio capability, though the sampled experience page renders experience records only. The loader implementation was not sampled, so its internal file-reading behavior is represented only by indexed references.

Main entry points: [`pages/aboutme.py`](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/aboutme.py) (About page), [`utils/jsonimport.py`](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/utils/jsonimport.py) (JSON loader), [`main.py`](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/main.py) (App shell), [`pages/maincontent.py`](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/maincontent.py) (Experience and projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_app["App shell<br/>[main.py]"]
end

subgraph group_content["Portfolio content"]
  node_about["About page<br/>[aboutme.py]"]
  node_work["Experience and projects<br/>[maincontent.py]"]
end

subgraph group_data["Content data"]
  node_loader["JSON loader<br/>[jsonimport.py]"]
  node_profile["Profile data<br/>[myinfo.json]"]
  node_experience["Experience data<br/>[experience.json]"]
  node_resume["Resume PDF<br/>[Resume.pdf]"]
end

node_visitor(("Portfolio visitor"))

node_visitor -->|"opens portfolio"| node_app
node_app -->|"registers page"| node_about
node_app -->|"registers page"| node_work
node_visitor -.->|"selects page"| node_about
node_visitor -.->|"selects page"| node_work
node_about -->|"calls loader"| node_loader
node_loader -.->|"loads JSON"| node_profile
node_about -->|"offers download"| node_resume
node_work -->|"calls loader"| node_loader
node_loader -.->|"loads JSON"| node_experience

click node_app "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/main.py"
click node_about "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/aboutme.py"
click node_work "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/maincontent.py"
click node_loader "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/utils/jsonimport.py"
click node_profile "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/data/myinfo.json"
click node_experience "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/data/experience.json"
click node_resume "https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/static/Resume.pdf"

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 toneBlue
class node_about,node_work toneAmber
class node_loader,node_profile,node_experience,node_resume toneMint
class node_visitor toneIndigo
```

## Components

### App navigation

- [App shell](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/main.py): `main.py`

### Portfolio content

- [About page](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/aboutme.py): `pages/aboutme.py`
- [Experience and projects](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/pages/maincontent.py): `pages/maincontent.py`

### Content data

- [JSON loader](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/utils/jsonimport.py): `utils/jsonimport.py`
- [Profile data](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/data/myinfo.json): `data/myinfo.json`
- [Experience data](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/data/experience.json): `data/experience.json`
- [Resume PDF](https://github.com/souravkh/portfolio_creater_using_streamlit/blob/main/static/Resume.pdf): `static/Resume.pdf`

### Other components

- **Portfolio visitor**

## Connections

- Portfolio visitor → App shell: opens portfolio (evidence: `README.md`)
- App shell → About page: registers page (evidence: `main.py`)
- App shell → Experience and projects: registers page (evidence: `main.py`)
- Portfolio visitor → About page: selects page
- Portfolio visitor → Experience and projects: selects page
- About page → JSON loader: calls loader (evidence: `pages/aboutme.py`)
- JSON loader → Profile data: loads JSON
- About page → Resume PDF: offers download (evidence: `pages/aboutme.py`)
- Experience and projects → JSON loader: calls loader (evidence: `pages/maincontent.py`)
- JSON loader → Experience data: loads JSON
