# jenil0410/portfolio architecture

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

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

## Overview

This is a Laravel/Livewire portfolio site: visitors request portfolio pages, the controller selects portfolio content, and Blade pages render work, case studies, products, experience, and contact information. Interactive work-filter, navigation, project-panel, and case-study components form a separate UI branch. The sampled source supports the request/controller/data flow; unsampled page and view wiring is not inferred. The generic Laravel user/authentication pieces are included because they are substantial indexed modules, not because they appear central to the portfolio experience.

Main entry points: [`app/Data/Portfolio/PortfolioData.php`](https://github.com/jenil0410/portfolio/blob/main/app/Data/Portfolio/PortfolioData.php) (Portfolio data), [`app/Http/Controllers/PortfolioController.php`](https://github.com/jenil0410/portfolio/blob/main/app/Http/Controllers/PortfolioController.php) (Portfolio controller), [`public/index.php`](https://github.com/jenil0410/portfolio/blob/main/public/index.php) (HTTP entry), [`bootstrap/app.php`](https://github.com/jenil0410/portfolio/blob/main/bootstrap/app.php) (App bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["Request handling"]
  node_http_entry["HTTP entry<br/>[index.php]"]
  node_app_bootstrap["App bootstrap<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_portfolio_controller["Portfolio controller"]
  node_base_controller["Base controller<br/>[Controller.php]"]
  node_user_model["User model<br/>[User.php]"]
  node_auth_config["Auth configuration<br/>[auth.php]"]
  node_app_provider["App service provider"]
  node_user_factory["User factory<br/>[UserFactory.php]"]
end

subgraph group_content["Portfolio content"]
  node_portfolio_data["Portfolio data<br/>[PortfolioData.php]"]
end

subgraph group_interactive["Interactive UI"]
  node_livewire_navigation["Navigation state<br/>[Navigation.php]"]
  node_livewire_filter["Work filter<br/>[WorkFilter.php]"]
  node_livewire_panel["Project panel<br/>[ProjectPanel.php]"]
  node_livewire_case["Case study state"]
end

subgraph group_presentation["Presentation"]
  node_portfolio_pages["Portfolio pages"]
  node_portfolio_layout["Portfolio layout component<br/>[Portfolio.php]"]
  node_layout_view["Portfolio layout view"]
  node_project_preview["Project preview"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests pages"| node_http_entry
node_http_entry -->|"handles request"| node_app_bootstrap
node_app_bootstrap -->|"loads routes"| node_web_routes
node_web_routes -->|"routes to"| node_portfolio_controller
node_portfolio_controller -->|"loads content"| node_portfolio_data
node_portfolio_controller -->|"returns page views"| node_portfolio_pages
node_portfolio_controller -->|"references component"| node_portfolio_layout
node_project_preview -->|"gets preview views"| node_portfolio_data
node_portfolio_layout -->|"renders view"| node_layout_view
node_livewire_navigation -->|"references content"| node_portfolio_data
node_livewire_filter -->|"filters projects"| node_portfolio_data
node_livewire_panel -->|"loads project"| node_portfolio_data
node_livewire_case -->|"loads case study"| node_portfolio_data
node_auth_config -->|"configures provider"| node_user_model
node_user_factory -->|"creates users"| node_user_model

click node_http_entry "https://github.com/jenil0410/portfolio/blob/main/public/index.php"
click node_app_bootstrap "https://github.com/jenil0410/portfolio/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/jenil0410/portfolio/blob/main/routes/web.php"
click node_portfolio_controller "https://github.com/jenil0410/portfolio/blob/main/app/Http/Controllers/PortfolioController.php"
click node_base_controller "https://github.com/jenil0410/portfolio/blob/main/app/Http/Controllers/Controller.php"
click node_portfolio_data "https://github.com/jenil0410/portfolio/blob/main/app/Data/Portfolio/PortfolioData.php"
click node_portfolio_pages "https://github.com/jenil0410/portfolio/tree/main/resources/views/pages/portfolio"
click node_portfolio_layout "https://github.com/jenil0410/portfolio/blob/main/app/View/Components/Layouts/Portfolio.php"
click node_layout_view "https://github.com/jenil0410/portfolio/blob/main/resources/views/layouts/portfolio.blade.php"
click node_project_preview "https://github.com/jenil0410/portfolio/blob/main/resources/views/components/portfolio/project-preview.blade.php"
click node_livewire_navigation "https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/Navigation.php"
click node_livewire_filter "https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/WorkFilter.php"
click node_livewire_panel "https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/ProjectPanel.php"
click node_livewire_case "https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/ProjectCaseStudy.php"
click node_user_model "https://github.com/jenil0410/portfolio/blob/main/app/Models/User.php"
click node_auth_config "https://github.com/jenil0410/portfolio/blob/main/config/auth.php"
click node_app_provider "https://github.com/jenil0410/portfolio/blob/main/app/Providers/AppServiceProvider.php"
click node_user_factory "https://github.com/jenil0410/portfolio/blob/main/database/factories/UserFactory.php"

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_http_entry,node_app_bootstrap,node_web_routes,node_portfolio_controller,node_base_controller,node_user_model,node_auth_config,node_app_provider,node_user_factory toneBlue
class node_portfolio_data toneAmber
class node_livewire_navigation,node_livewire_filter,node_livewire_panel,node_livewire_case toneMint
class node_portfolio_pages,node_portfolio_layout,node_layout_view,node_project_preview toneRose
class node_visitor toneIndigo
```

## Components

### Request handling

- [HTTP entry](https://github.com/jenil0410/portfolio/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/jenil0410/portfolio/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/jenil0410/portfolio/blob/main/routes/web.php): `routes/web.php`
- [Portfolio controller](https://github.com/jenil0410/portfolio/blob/main/app/Http/Controllers/PortfolioController.php): `app/Http/Controllers/PortfolioController.php`
- [Base controller](https://github.com/jenil0410/portfolio/blob/main/app/Http/Controllers/Controller.php): `app/Http/Controllers/Controller.php`
- [User model](https://github.com/jenil0410/portfolio/blob/main/app/Models/User.php): `app/Models/User.php`
- [Auth configuration](https://github.com/jenil0410/portfolio/blob/main/config/auth.php): `config/auth.php`
- [App service provider](https://github.com/jenil0410/portfolio/blob/main/app/Providers/AppServiceProvider.php): `app/Providers/AppServiceProvider.php`
- [User factory](https://github.com/jenil0410/portfolio/blob/main/database/factories/UserFactory.php): `database/factories/UserFactory.php`

### Portfolio content

- [Portfolio data](https://github.com/jenil0410/portfolio/blob/main/app/Data/Portfolio/PortfolioData.php): `app/Data/Portfolio/PortfolioData.php`

### Interactive UI

- [Navigation state](https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/Navigation.php): `app/Livewire/Portfolio/Navigation.php`
- [Work filter](https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/WorkFilter.php): `app/Livewire/Portfolio/WorkFilter.php`
- [Project panel](https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/ProjectPanel.php): `app/Livewire/Portfolio/ProjectPanel.php`
- [Case study state](https://github.com/jenil0410/portfolio/blob/main/app/Livewire/Portfolio/ProjectCaseStudy.php): `app/Livewire/Portfolio/ProjectCaseStudy.php`

### Presentation

- [Portfolio pages](https://github.com/jenil0410/portfolio/tree/main/resources/views/pages/portfolio): `resources/views/pages/portfolio`
- [Portfolio layout component](https://github.com/jenil0410/portfolio/blob/main/app/View/Components/Layouts/Portfolio.php): `app/View/Components/Layouts/Portfolio.php`
- [Portfolio layout view](https://github.com/jenil0410/portfolio/blob/main/resources/views/layouts/portfolio.blade.php): `resources/views/layouts/portfolio.blade.php`
- [Project preview](https://github.com/jenil0410/portfolio/blob/main/resources/views/components/portfolio/project-preview.blade.php): `resources/views/components/portfolio/project-preview.blade.php`

### Other components

- **Visitor**

## Connections

- Visitor → HTTP entry: requests pages
- HTTP entry → App bootstrap: handles request (evidence: `public/index.php`)
- App bootstrap → Web routes: loads routes (evidence: `bootstrap/app.php`)
- Web routes → Portfolio controller: routes to (evidence: `routes/web.php`)
- Portfolio controller → Portfolio data: loads content (evidence: `app/Http/Controllers/PortfolioController.php`)
- Portfolio controller → Portfolio pages: returns page views (evidence: `app/Http/Controllers/PortfolioController.php`)
- Portfolio controller → Portfolio layout component: references component (evidence: `app/Http/Controllers/PortfolioController.php`)
- Project preview → Portfolio data: gets preview views (evidence: `resources/views/components/portfolio/project-preview.blade.php`)
- Portfolio layout component → Portfolio layout view: renders view (evidence: `app/View/Components/Layouts/Portfolio.php`)
- Navigation state → Portfolio data: references content (evidence: `app/Livewire/Portfolio/Navigation.php`)
- Work filter → Portfolio data: filters projects (evidence: `app/Livewire/Portfolio/WorkFilter.php`)
- Project panel → Portfolio data: loads project (evidence: `app/Livewire/Portfolio/ProjectPanel.php`)
- Case study state → Portfolio data: loads case study (evidence: `app/Livewire/Portfolio/ProjectCaseStudy.php`)
- Auth configuration → User model: configures provider (evidence: `config/auth.php`)
- User factory → User model: creates users (evidence: `database/factories/UserFactory.php`)
