# ganeshgawade9/portfolio architecture

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

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

## Overview

This Django application serves a personal portfolio: visitors browse profile, skills, projects, experience, and social links, or submit a contact message; project pages show individual case studies. Portfolio content and messages are modeled for database storage and are manageable through Django admin. The contact flow validates and saves submissions, then optionally emails the profile address. The excerpts show routing, view behavior, and model definitions; templates and several runtime details are represented only where their paths or use are visible, so no unverified internal links are asserted.

Main entry points: [`portfolio/portfolio/views.py`](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/views.py) (Page views), [`portfolio/portfolio/admin.py`](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/admin.py) (Content administration), [`portfolio/config/urls.py`](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/config/urls.py) (Site routes), [`portfolio/portfolio/urls.py`](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/urls.py) (Portfolio routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public portfolio"]
  node_site_views["Page views<br/>[views.py]"]
  node_home_template["Portfolio home<br/>[home.html]"]
  node_project_template["Project detail"]
end

subgraph group_content["Portfolio content"]
  node_profile["Site profile<br/>[models.py]"]
  node_about_cards["About cards<br/>[models.py]"]
  node_skills["Skills<br/>[models.py]"]
  node_projects["Projects<br/>[models.py]"]
  node_experience["Experience and education<br/>[models.py]"]
  node_social_links["Social links<br/>[models.py]"]
end

subgraph group_contact["Contact workflow"]
  node_contact_form["Contact form<br/>[forms.py]"]
  node_contact_messages["Contact messages<br/>[models.py]"]
end

subgraph group_admin["Runtime and administration"]
  node_site_routes["Site routes<br/>[urls.py]"]
  node_portfolio_routes["Portfolio routes<br/>[urls.py]"]
  node_admin["Content administration<br/>[admin.py]"]
  node_database[("Application database")]
end

node_visitor(("Visitor"))
node_mail_service["Email service"]

node_visitor -->|"requests pages"| node_site_routes
node_site_routes -->|"includes routes"| node_portfolio_routes
node_portfolio_routes -->|"routes requests"| node_site_views
node_site_views -->|"renders home"| node_home_template
node_site_views -->|"renders project"| node_project_template
node_site_views -->|"reads profile"| node_profile
node_site_views -->|"loads cards"| node_about_cards
node_site_views -->|"loads skills"| node_skills
node_site_views -->|"loads projects"| node_projects
node_site_views -->|"loads experience"| node_experience
node_site_views -->|"loads links"| node_social_links
node_visitor -.->|"submits contact"| node_site_views
node_site_views -->|"validates input"| node_contact_form
node_site_views -->|"saves message"| node_contact_messages
node_site_views -->|"sends notification"| node_mail_service
node_admin -->|"opens admin"| node_site_routes
node_admin -->|"manages content"| node_profile
node_admin -->|"manages content"| node_about_cards
node_admin -->|"manages content"| node_skills
node_admin -->|"manages content"| node_projects
node_admin -->|"manages content"| node_experience
node_admin -->|"manages content"| node_social_links
node_admin -->|"reviews messages"| node_contact_messages
node_site_views -->|"queries records"| node_database
node_admin -.->|"manages records"| node_database

click node_site_routes "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/config/urls.py"
click node_portfolio_routes "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/urls.py"
click node_site_views "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/views.py"
click node_home_template "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/templates/portfolio/home.html"
click node_project_template "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/templates/portfolio/project_detail.html"
click node_profile "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_about_cards "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_skills "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_projects "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_experience "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_social_links "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_contact_form "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/forms.py"
click node_contact_messages "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py"
click node_admin "https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/admin.py"

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_site_views,node_home_template,node_project_template toneBlue
class node_profile,node_about_cards,node_skills,node_projects,node_experience,node_social_links toneAmber
class node_contact_form,node_contact_messages toneMint
class node_site_routes,node_portfolio_routes,node_admin,node_database toneRose
class node_visitor,node_mail_service toneIndigo
```

## Components

### Public portfolio

- [Page views](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/views.py): `portfolio/portfolio/views.py`
- [Portfolio home](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/templates/portfolio/home.html): `portfolio/templates/portfolio/home.html`
- [Project detail](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/templates/portfolio/project_detail.html): `portfolio/templates/portfolio/project_detail.html`

### Portfolio content

- [Site profile](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`
- [About cards](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`
- [Skills](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`
- [Projects](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`
- [Experience and education](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`
- [Social links](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`

### Contact workflow

- [Contact form](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/forms.py): `portfolio/portfolio/forms.py`
- [Contact messages](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/models.py): `portfolio/portfolio/models.py`

### Runtime and administration

- [Site routes](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/config/urls.py): `portfolio/config/urls.py`
- [Portfolio routes](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/urls.py): `portfolio/portfolio/urls.py`
- [Content administration](https://github.com/ganeshgawade9/portfolio/blob/master/portfolio/portfolio/admin.py): `portfolio/portfolio/admin.py`
- **Application database**

### Other components

- **Visitor**
- **Email service**

## Connections

- Visitor → Site routes: requests pages
- Site routes → Portfolio routes: includes routes (evidence: `portfolio/config/urls.py`)
- Portfolio routes → Page views: routes requests (evidence: `portfolio/portfolio/urls.py`)
- Page views → Portfolio home: renders home (evidence: `portfolio/portfolio/views.py`)
- Page views → Project detail: renders project (evidence: `portfolio/portfolio/views.py`)
- Page views → Site profile: reads profile (evidence: `portfolio/portfolio/views.py`)
- Page views → About cards: loads cards (evidence: `portfolio/portfolio/views.py`)
- Page views → Skills: loads skills (evidence: `portfolio/portfolio/views.py`)
- Page views → Projects: loads projects (evidence: `portfolio/portfolio/views.py`)
- Page views → Experience and education: loads experience (evidence: `portfolio/portfolio/views.py`)
- Page views → Social links: loads links (evidence: `portfolio/portfolio/views.py`)
- Visitor → Page views: submits contact
- Page views → Contact form: validates input (evidence: `portfolio/portfolio/views.py`)
- Page views → Contact messages: saves message (evidence: `portfolio/portfolio/views.py`)
- Page views → Email service: sends notification (evidence: `portfolio/portfolio/views.py`)
- Content administration → Site routes: opens admin (evidence: `portfolio/config/urls.py`)
- Content administration → Site profile: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → About cards: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → Skills: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → Projects: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → Experience and education: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → Social links: manages content (evidence: `portfolio/portfolio/admin.py`)
- Content administration → Contact messages: reviews messages (evidence: `portfolio/portfolio/admin.py`)
- Page views → Application database: queries records (evidence: `portfolio/portfolio/views.py`)
- Content administration → Application database: manages records
