# tamanna200513/tamanna-portfolio architecture

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

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

## Overview

This is a Django personal portfolio with public home, about, resume, and contact pages, plus a staff-only inbox for submitted contact messages. Visitors submit messages, which the contact view validates and stores; staff authenticate, review, mark, and delete them. The map includes the public/admin templates, the message model, and project URL and database configuration. Source excerpts show these relationships; template-to-static-asset wiring and other unsampled details are omitted rather than inferred.

Main entry points: [`tamanna/urls.py`](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/urls.py) (App routes), [`tamanna/views.py`](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py) (Inbox management), [`tamanna/models.py`](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/models.py) (Contact message), [`portfolio/urls.py`](https://github.com/tamanna200513/tamanna-portfolio/blob/main/portfolio/urls.py) (Project routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Request routing"]
  node_project_routes["Project routes<br/>[urls.py]"]
  node_app_routes["App routes<br/>[urls.py]"]
end

subgraph group_public["Portfolio pages"]
  node_page_views["Public page views<br/>[views.py]"]
  node_page_templates["Public templates"]
  node_portfolio_script["Portfolio interactions<br/>[script.js]"]
end

subgraph group_inbox["Contact inbox"]
  node_contact_view["Contact submission<br/>[views.py]"]
  node_contact_template["Contact form<br/>[contactus.html]"]
  node_message_model["Contact message<br/>[models.py]"]
  node_admin_auth["Admin authentication<br/>[views.py]"]
  node_admin_views["Inbox management<br/>[views.py]"]
  node_admin_template["Admin dashboard<br/>[admin.html]"]
  node_admin_registration["Django admin registration<br/>[admin.py]"]
end

subgraph group_platform["Django platform"]
  node_message_store[("Configured database<br/>[settings.py]")]
end

node_visitor(("Visitor"))
node_staff(("Staff user"))

node_visitor -->|"requests pages"| node_project_routes
node_staff -->|"requests admin"| node_project_routes
node_project_routes -->|"includes routes"| node_app_routes
node_app_routes -->|"routes pages"| node_page_views
node_app_routes -->|"routes contact"| node_contact_view
node_app_routes -->|"routes login"| node_admin_auth
node_app_routes -->|"routes inbox actions"| node_admin_views
node_page_views -->|"renders pages"| node_page_templates
node_contact_view -->|"renders form"| node_contact_template
node_contact_view -->|"creates message"| node_message_model
node_admin_auth -->|"redirects staff"| node_admin_views
node_admin_views -->|"queries messages"| node_message_model
node_admin_views -->|"renders inbox"| node_admin_template
node_admin_registration -->|"registers model"| node_message_model
node_message_model -.->|"persists records"| node_message_store

click node_project_routes "https://github.com/tamanna200513/tamanna-portfolio/blob/main/portfolio/urls.py"
click node_app_routes "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/urls.py"
click node_page_views "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py"
click node_page_templates "https://github.com/tamanna200513/tamanna-portfolio/tree/main/tamanna/templates"
click node_contact_view "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py"
click node_contact_template "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/templates/contactus.html"
click node_message_model "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/models.py"
click node_message_store "https://github.com/tamanna200513/tamanna-portfolio/blob/main/portfolio/settings.py"
click node_admin_auth "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py"
click node_admin_views "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py"
click node_admin_template "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/templates/admin.html"
click node_admin_registration "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/admin.py"
click node_portfolio_script "https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/static/tamanna/js/script.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_project_routes,node_app_routes,node_staff toneBlue
class node_page_views,node_page_templates,node_portfolio_script toneAmber
class node_contact_view,node_contact_template,node_message_model,node_admin_auth,node_admin_views,node_admin_template,node_admin_registration toneMint
class node_message_store toneRose
class node_visitor toneIndigo
```

## Components

### Request routing

- [Project routes](https://github.com/tamanna200513/tamanna-portfolio/blob/main/portfolio/urls.py): `portfolio/urls.py`
- [App routes](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/urls.py): `tamanna/urls.py`

### Portfolio pages

- [Public page views](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py): `tamanna/views.py`
- [Public templates](https://github.com/tamanna200513/tamanna-portfolio/tree/main/tamanna/templates): `tamanna/templates`
- [Portfolio interactions](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/static/tamanna/js/script.js): `tamanna/static/tamanna/js/script.js`

### Contact inbox

- [Contact submission](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py): `tamanna/views.py`
- [Contact form](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/templates/contactus.html): `tamanna/templates/contactus.html`
- [Contact message](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/models.py): `tamanna/models.py`
- [Admin authentication](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py): `tamanna/views.py`
- [Inbox management](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/views.py): `tamanna/views.py`
- [Admin dashboard](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/templates/admin.html): `tamanna/templates/admin.html`
- [Django admin registration](https://github.com/tamanna200513/tamanna-portfolio/blob/main/tamanna/admin.py): `tamanna/admin.py`

### Django platform

- [Configured database](https://github.com/tamanna200513/tamanna-portfolio/blob/main/portfolio/settings.py): `portfolio/settings.py`

### Other components

- **Visitor**
- **Staff user**

## Connections

- Visitor → Project routes: requests pages (evidence: `portfolio/urls.py`)
- Staff user → Project routes: requests admin (evidence: `portfolio/urls.py`)
- Project routes → App routes: includes routes (evidence: `portfolio/urls.py`)
- App routes → Public page views: routes pages (evidence: `tamanna/urls.py`)
- App routes → Contact submission: routes contact (evidence: `tamanna/urls.py`)
- App routes → Admin authentication: routes login (evidence: `tamanna/urls.py`)
- App routes → Inbox management: routes inbox actions (evidence: `tamanna/urls.py`)
- Public page views → Public templates: renders pages (evidence: `tamanna/views.py`)
- Contact submission → Contact form: renders form (evidence: `tamanna/views.py`)
- Contact submission → Contact message: creates message (evidence: `tamanna/views.py`)
- Admin authentication → Inbox management: redirects staff (evidence: `tamanna/views.py`)
- Inbox management → Contact message: queries messages (evidence: `tamanna/views.py`)
- Inbox management → Admin dashboard: renders inbox (evidence: `tamanna/views.py`)
- Django admin registration → Contact message: registers model (evidence: `tamanna/admin.py`)
- Contact message → Configured database: persists records
