# dhanshree02/project_trackerpro architecture

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

- Interactive diagram: https://gitdiagram.com/dhanshree02/project_trackerpro
- Repository: https://github.com/dhanshree02/project_trackerpro

## Overview

Project Compass (Pulse PMO) is an enterprise project-management frontend for project, resource, finance, governance, and approval workflows. The documented product is a React application whose backend is planned, not implemented; the README says its screens currently use mock data. The graph includes major route-level capabilities from the tree and the sampled My Org and My Team workflows. Several routes and the central store were not excerpted, so their internal behavior and connections are not inferred.

Main entry points: [`apps/frontend/src/server.ts`](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/server.ts) (SSR request handler), [`apps/frontend/src/modules/my-org/index.tsx`](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/index.tsx) (Organization documents), [`apps/frontend/src/modules/my-team/index.tsx`](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/index.tsx) (Team schedule), [`apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx`](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx) (Attendance calendar cell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_frontend["Frontend application<br/>[router.tsx]"]
  node_server["SSR request handler<br/>[server.ts]"]
  node_error_capture["Error capture<br/>[error-capture.ts]"]
  node_error_page["Branded error page<br/>[error-page.ts]"]
end

subgraph group_delivery["Project delivery"]
  node_projects["Project management"]
  node_project_setup["Project creation<br/>[projects.new.tsx]"]
  node_portfolio["Portfolio<br/>[portfolio.tsx]"]
  node_resource_allocation["Resource allocation<br/>[allocation.tsx]"]
  node_wbs_allocation["WBS allocation<br/>[wbs-allocation.tsx]"]
end

subgraph group_people["People operations"]
  node_my_team["Team schedule<br/>[index.tsx]"]
  node_team_service["Team data service<br/>[teamDataService.ts]"]
  node_schedule_helpers["Schedule calculations<br/>[index.ts]"]
  node_calendar_cell["Attendance calendar cell"]
  node_my_org["Organization documents<br/>[index.tsx]"]
  node_org_service["Document data service<br/>[myOrgService.ts]"]
  node_org_utils["Document filtering and upload<br/>[index.ts]"]
end

subgraph group_governance["Governance and finance"]
  node_customers["Customer management"]
  node_approvals["Approvals<br/>[approvals.tsx]"]
  node_action_centre["Action centre<br/>[action-centre.tsx]"]
  node_timesheets["Timesheets<br/>[timesheet.tsx]"]
  node_reports["Reports<br/>[reports.tsx]"]
end

node_user(("User"))

node_user -->|"uses"| node_frontend
node_server -->|"consumes errors"| node_error_capture
node_server -->|"renders on failure"| node_error_page
node_my_team -->|"loads schedule data"| node_team_service
node_calendar_cell -->|"resolves events"| node_schedule_helpers
node_my_org -->|"loads documents"| node_org_service
node_my_org -->|"filters and assigns"| node_org_utils

click node_frontend "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/router.tsx"
click node_server "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/server.ts"
click node_error_capture "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/lib/error-capture.ts"
click node_error_page "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/lib/error-page.ts"
click node_projects "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/projects.%24projectId.tsx"
click node_project_setup "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/projects.new.tsx"
click node_portfolio "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/portfolio.tsx"
click node_resource_allocation "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/allocation.tsx"
click node_wbs_allocation "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/wbs-allocation.tsx"
click node_my_team "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/index.tsx"
click node_team_service "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/services/teamDataService.ts"
click node_schedule_helpers "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/utils/index.ts"
click node_calendar_cell "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx"
click node_my_org "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/index.tsx"
click node_org_service "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/services/myOrgService.ts"
click node_org_utils "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/utils/index.ts"
click node_customers "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/customers.index.tsx"
click node_approvals "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/approvals.tsx"
click node_action_centre "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/action-centre.tsx"
click node_timesheets "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/timesheet.tsx"
click node_reports "https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/reports.tsx"

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_frontend,node_server,node_error_capture,node_error_page,node_user toneBlue
class node_projects,node_project_setup,node_portfolio,node_resource_allocation,node_wbs_allocation toneAmber
class node_my_team,node_team_service,node_schedule_helpers,node_calendar_cell,node_my_org,node_org_service,node_org_utils toneMint
class node_customers,node_approvals,node_action_centre,node_timesheets,node_reports toneRose
```

## Components

### Application shell

- [Frontend application](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/router.tsx): `apps/frontend/src/router.tsx`
- [SSR request handler](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/server.ts): `apps/frontend/src/server.ts`
- [Error capture](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/lib/error-capture.ts): `apps/frontend/src/lib/error-capture.ts`
- [Branded error page](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/lib/error-page.ts): `apps/frontend/src/lib/error-page.ts`

### Project delivery

- [Project management](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/projects.%24projectId.tsx): `apps/frontend/src/routes/projects.$projectId.tsx`
- [Project creation](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/projects.new.tsx): `apps/frontend/src/routes/projects.new.tsx`
- [Portfolio](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/portfolio.tsx): `apps/frontend/src/routes/portfolio.tsx`
- [Resource allocation](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/allocation.tsx): `apps/frontend/src/routes/allocation.tsx`
- [WBS allocation](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/wbs-allocation.tsx): `apps/frontend/src/routes/wbs-allocation.tsx`

### People operations

- [Team schedule](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/index.tsx): `apps/frontend/src/modules/my-team/index.tsx`
- [Team data service](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/services/teamDataService.ts): `apps/frontend/src/modules/my-team/services/teamDataService.ts`
- [Schedule calculations](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/utils/index.ts): `apps/frontend/src/modules/my-team/utils/index.ts`
- [Attendance calendar cell](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx): `apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx`
- [Organization documents](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/index.tsx): `apps/frontend/src/modules/my-org/index.tsx`
- [Document data service](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/services/myOrgService.ts): `apps/frontend/src/modules/my-org/services/myOrgService.ts`
- [Document filtering and upload](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/modules/my-org/utils/index.ts): `apps/frontend/src/modules/my-org/utils/index.ts`

### Governance and finance

- [Customer management](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/customers.index.tsx): `apps/frontend/src/routes/customers.index.tsx`
- [Approvals](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/approvals.tsx): `apps/frontend/src/routes/approvals.tsx`
- [Action centre](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/action-centre.tsx): `apps/frontend/src/routes/action-centre.tsx`
- [Timesheets](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/timesheet.tsx): `apps/frontend/src/routes/timesheet.tsx`
- [Reports](https://github.com/dhanshree02/project_trackerpro/blob/main/apps/frontend/src/routes/reports.tsx): `apps/frontend/src/routes/reports.tsx`

### Other components

- **User**

## Connections

- User → Frontend application: uses (evidence: `README.md`)
- SSR request handler → Error capture: consumes errors (evidence: `apps/frontend/src/server.ts`)
- SSR request handler → Branded error page: renders on failure (evidence: `apps/frontend/src/server.ts`)
- Team schedule → Team data service: loads schedule data (evidence: `apps/frontend/src/modules/my-team/index.tsx`)
- Attendance calendar cell → Schedule calculations: resolves events (evidence: `apps/frontend/src/modules/my-team/components/CalendarDayCell.tsx`)
- Organization documents → Document data service: loads documents (evidence: `apps/frontend/src/modules/my-org/index.tsx`)
- Organization documents → Document filtering and upload: filters and assigns (evidence: `apps/frontend/src/modules/my-org/index.tsx`)
