# geetanshu17-tech/pro-port architecture

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

- Interactive diagram: https://gitdiagram.com/geetanshu17-tech/pro-port
- Repository: https://github.com/geetanshu17-tech/pro-port

## Overview

Pro-Port is an interactive desktop-style portfolio. A visitor passes through the boot and lock screens, signs in to the desktop, and opens portfolio applications in managed windows; the desktop’s application catalog is served by the Express/MongoDB backend. The graph preserves the documented About, Skills, Contact, Projects, and Terminal application areas, along with the taskbar and window controls. Several frontend components and backend module files were not sampled, so their connections are included only where the README documents them.

Main entry points: [`frontend/src/components/window/WindowManager.jsx`](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/WindowManager.jsx) (Window Manager), [`frontend/src/components/system/Desktop.jsx`](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/Desktop.jsx) (Desktop), [`frontend/src/App.jsx`](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/App.jsx) (App Router), [`frontend/src/components/system/LockScreen.jsx`](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/LockScreen.jsx) (Lock Screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Startup and Access"]
  node_app["App Router<br/>[App.jsx]"]
  node_boot["Boot Screen<br/>[BootScreen.jsx]"]
  node_lock["Lock Screen<br/>[LockScreen.jsx]"]
end

subgraph group_desktop["Desktop Shell"]
  node_desktop["Desktop<br/>[Desktop.jsx]"]
  node_start["Start Menu<br/>[StartMenu.jsx]"]
  node_taskbar["Taskbar<br/>[Taskbar.jsx]"]
  node_context["Context Menu<br/>[ContextMenu.jsx]"]
  node_windowstate["Window State"]
  node_manager["Window Manager<br/>[WindowManager.jsx]"]
  node_window["Application Window<br/>[Window.jsx]"]
end

subgraph group_portfolio["Portfolio Apps"]
  node_about["About App<br/>[AboutApp.jsx]"]
  node_skills["Skills App<br/>[SkillsApp.jsx]"]
  node_contact["Contact App<br/>[ContactApp.jsx]"]
  node_projects["Projects App<br/>[ProjectsApp.jsx]"]
  node_terminal["Terminal App<br/>[TerminalApp.jsx]"]
end

subgraph group_backend["Catalog Backend"]
  node_api["Catalog API Client<br/>[api.js]"]
  node_server["Express Catalog<br/>[app.js]"]
  node_mongo[("MongoDB")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"shows first"| node_boot
node_app -->|"routes to"| node_lock
node_lock -->|"signs in to"| node_desktop
node_desktop -->|"fetches catalog"| node_api
node_api -->|"requests catalog"| node_server
node_server -->|"reads and writes"| node_mongo
node_desktop -->|"opens apps"| node_windowstate
node_windowstate -->|"supplies state"| node_manager
node_manager -->|"renders"| node_window
node_manager -.->|"renders app"| node_about
node_manager -.->|"renders app"| node_skills
node_manager -.->|"renders app"| node_contact
node_manager -.->|"renders app"| node_projects
node_manager -.->|"renders app"| node_terminal
node_desktop -.->|"offers"| node_start
node_desktop -.->|"shows"| node_taskbar
node_desktop -.->|"offers"| node_context

click node_app "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/App.jsx"
click node_boot "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/BootScreen.jsx"
click node_lock "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/LockScreen.jsx"
click node_desktop "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/Desktop.jsx"
click node_start "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/StartMenu.jsx"
click node_taskbar "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/Taskbar.jsx"
click node_context "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/ContextMenu.jsx"
click node_windowstate "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/useWindowManager.jsx"
click node_manager "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/WindowManager.jsx"
click node_window "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/Window.jsx"
click node_api "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/services/api.js"
click node_about "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/AboutApp.jsx"
click node_skills "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/SkillsApp.jsx"
click node_contact "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/ContactApp.jsx"
click node_projects "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/apps/ProjectsApp.jsx"
click node_terminal "https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/TerminalApp.jsx"
click node_server "https://github.com/geetanshu17-tech/pro-port/blob/main/backend/src/app.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_app,node_boot,node_lock toneBlue
class node_desktop,node_start,node_taskbar,node_context,node_windowstate,node_manager,node_window toneAmber
class node_about,node_skills,node_contact,node_projects,node_terminal toneMint
class node_api,node_server,node_mongo toneRose
class node_visitor toneIndigo
```

## Components

### Startup and Access

- [App Router](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Boot Screen](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/BootScreen.jsx): `frontend/src/components/system/BootScreen.jsx`
- [Lock Screen](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/LockScreen.jsx): `frontend/src/components/system/LockScreen.jsx`

### Desktop Shell

- [Desktop](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/Desktop.jsx): `frontend/src/components/system/Desktop.jsx`
- [Start Menu](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/StartMenu.jsx): `frontend/src/components/system/StartMenu.jsx`
- [Taskbar](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/Taskbar.jsx): `frontend/src/components/system/Taskbar.jsx`
- [Context Menu](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/system/ContextMenu.jsx): `frontend/src/components/system/ContextMenu.jsx`
- [Window State](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/useWindowManager.jsx): `frontend/src/components/window/useWindowManager.jsx`
- [Window Manager](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/WindowManager.jsx): `frontend/src/components/window/WindowManager.jsx`
- [Application Window](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/window/Window.jsx): `frontend/src/components/window/Window.jsx`

### Portfolio Apps

- [About App](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/AboutApp.jsx): `frontend/src/apps/AboutApp.jsx`
- [Skills App](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/SkillsApp.jsx): `frontend/src/apps/SkillsApp.jsx`
- [Contact App](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/ContactApp.jsx): `frontend/src/apps/ContactApp.jsx`
- [Projects App](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/components/apps/ProjectsApp.jsx): `frontend/src/components/apps/ProjectsApp.jsx`
- [Terminal App](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/apps/TerminalApp.jsx): `frontend/src/apps/TerminalApp.jsx`

### Catalog Backend

- [Catalog API Client](https://github.com/geetanshu17-tech/pro-port/blob/main/frontend/src/services/api.js): `frontend/src/services/api.js`
- [Express Catalog](https://github.com/geetanshu17-tech/pro-port/blob/main/backend/src/app.js): `backend/src/app.js`
- **MongoDB**

### Other components

- **Visitor**

## Connections

- Visitor → App Router: opens
- App Router → Boot Screen: shows first (evidence: `frontend/src/App.jsx`)
- App Router → Lock Screen: routes to (evidence: `frontend/src/App.jsx`)
- Lock Screen → Desktop: signs in to
- Desktop → Catalog API Client: fetches catalog
- Catalog API Client → Express Catalog: requests catalog
- Express Catalog → MongoDB: reads and writes (evidence: `backend/src/app.js`)
- Desktop → Window State: opens apps
- Window State → Window Manager: supplies state
- Window Manager → Application Window: renders (evidence: `frontend/src/components/window/WindowManager.jsx`)
- Window Manager → About App: renders app
- Window Manager → Skills App: renders app
- Window Manager → Contact App: renders app
- Window Manager → Projects App: renders app
- Window Manager → Terminal App: renders app
- Desktop → Start Menu: offers
- Desktop → Taskbar: shows
- Desktop → Context Menu: offers
