# edbm-collab-task/collab-task-ui architecture

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

- Interactive diagram: https://gitdiagram.com/edbm-collab-task/collab-task-ui
- Repository: https://github.com/edbm-collab-task/collab-task-ui

## Overview

CollaB Tasks is a collaborative project-and-task management frontend backed by a Spring Boot REST API. The user journey enters through authentication and protected routing, then reaches administration, project detail and task workflows; separate branches cover users, directions, messaging, notifications, and activity history. Services mediate domain requests through the shared API client. The graph uses the README and SOURCE INDEX for documented capabilities and wiring; unsampled page internals and integrations are not inferred beyond those references.

Main entry points: [`src/router/index.tsx`](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/router/index.tsx) (Route dispatcher), [`src/api/api-client.ts`](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/api/api-client.ts) (HTTP client), [`src/pages/admin/project/ProjectDetailPage.tsx`](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/project/ProjectDetailPage.tsx) (Project detail), [`src/components/admin/Dashboard.tsx`](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/admin/Dashboard.tsx) (Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and navigation"]
  node_router["Route dispatcher<br/>[index.tsx]"]
  node_authpages["Sign-in and recovery"]
  node_authstate["Session state<br/>[AuthProvider.tsx]"]
  node_recovery["Recovery session"]
  node_adminlayout["Admin shell<br/>[AdminLayout.tsx]"]
  node_apiclient["HTTP client<br/>[api-client.ts]"]
  node_axios["Axios transport<br/>[axios.ts]"]
end

subgraph group_work["Projects and tasks"]
  node_dashboard["Dashboard<br/>[Dashboard.tsx]"]
  node_projectpages["Project workflow"]
  node_projectdetail["Project detail"]
  node_kanban["Task board<br/>[KanbanBoard.tsx]"]
  node_taskmodal["Task editor<br/>[TaskModal.tsx]"]
  node_projectservice["Project service<br/>[project.service.ts]"]
  node_taskservice["Task service<br/>[task.service.ts]"]
end

subgraph group_admin["Administration"]
  node_userpages["User management"]
  node_userprofile["User profile<br/>[UserProfile.tsx]"]
  node_userservice["User service<br/>[user.service.ts]"]
  node_directionpages["Directions"]
  node_directionservice["Direction service"]
end

subgraph group_collab["Team collaboration"]
  node_messagepage["Messaging<br/>[MessagePage.tsx]"]
  node_messageservice["Message service<br/>[message.service.ts]"]
  node_messagesocket["Message socket<br/>[message.socket.ts]"]
  node_notifications["Notifications"]
  node_notificationservice["Notification service"]
  node_activity["Activity history"]
end

node_user(("User"))
node_backend{{"Spring Boot API"}}

node_user -->|"opens app"| node_router
node_router -->|"routes to"| node_authpages
node_router -->|"protects admin"| node_adminlayout
node_router -->|"routes to"| node_dashboard
node_router -->|"routes to"| node_projectpages
node_router -->|"routes to"| node_userpages
node_router -->|"routes to"| node_directionpages
node_router -->|"routes to"| node_messagepage
node_router -->|"routes to"| node_notifications
node_router -->|"routes to"| node_activity
node_authstate -.->|"provides session"| node_user
node_recovery -.->|"provides recovery"| node_user
node_dashboard -->|"fetches data"| node_userservice
node_dashboard -->|"fetches data"| node_projectservice
node_dashboard -->|"fetches data"| node_taskservice
node_projectdetail -->|"loads project"| node_projectservice
node_projectdetail -->|"loads tasks"| node_taskservice
node_projectdetail -->|"renders board"| node_kanban
node_projectdetail -->|"opens editor"| node_taskmodal
node_projectdetail -->|"loads contributors"| node_userservice
node_projectservice -->|"loads statuses"| node_taskservice
node_userprofile -->|"manages profile"| node_userservice
node_messagepage -->|"requests messages"| node_messageservice
node_messagepage -->|"uses socket"| node_messagesocket
node_userservice -->|"sends requests"| node_apiclient
node_projectservice -->|"sends requests"| node_apiclient
node_taskservice -->|"sends requests"| node_apiclient
node_directionservice -->|"sends requests"| node_apiclient
node_messageservice -->|"sends requests"| node_apiclient
node_notificationservice -->|"sends requests"| node_axios
node_apiclient -->|"uses transport"| node_axios
node_axios -->|"calls REST API"| node_backend
node_authstate -.->|"authenticates"| node_user

click node_router "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/router/index.tsx"
click node_authpages "https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/auth"
click node_authstate "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/contexts/AuthProvider.tsx"
click node_recovery "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/contexts/RecoveryAuthProvider.tsx"
click node_adminlayout "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/admin/AdminLayout.tsx"
click node_dashboard "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/admin/Dashboard.tsx"
click node_projectpages "https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/project"
click node_projectdetail "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/project/ProjectDetailPage.tsx"
click node_kanban "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/kanban/KanbanBoard.tsx"
click node_taskmodal "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/kanban/TaskModal.tsx"
click node_projectservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/project/project.service.ts"
click node_taskservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/task/task.service.ts"
click node_userpages "https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/user"
click node_userprofile "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/user/UserProfile.tsx"
click node_userservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/user/user.service.ts"
click node_directionpages "https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/direction"
click node_directionservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/direction/direction.service.ts"
click node_messagepage "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/message/MessagePage.tsx"
click node_messageservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/message/message.service.ts"
click node_messagesocket "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/message/message.socket.ts"
click node_notifications "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/notification/NotificationsPage.tsx"
click node_notificationservice "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/notification/notification.service.ts"
click node_activity "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/project/ActivityHistoryPage.tsx"
click node_apiclient "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/api/api-client.ts"
click node_axios "https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/api/axios.ts"

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_router,node_authpages,node_authstate,node_recovery,node_adminlayout,node_apiclient,node_axios,node_user toneBlue
class node_dashboard,node_projectpages,node_projectdetail,node_kanban,node_taskmodal,node_projectservice,node_taskservice toneAmber
class node_userpages,node_userprofile,node_userservice,node_directionpages,node_directionservice,node_backend toneMint
class node_messagepage,node_messageservice,node_messagesocket,node_notifications,node_notificationservice,node_activity toneRose
```

## Components

### Access and navigation

- [Route dispatcher](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/router/index.tsx): `src/router/index.tsx`
- [Sign-in and recovery](https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/auth): `src/pages/auth`
- [Session state](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/contexts/AuthProvider.tsx): `src/contexts/AuthProvider.tsx`
- [Recovery session](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/contexts/RecoveryAuthProvider.tsx): `src/contexts/RecoveryAuthProvider.tsx`
- [Admin shell](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/admin/AdminLayout.tsx): `src/components/admin/AdminLayout.tsx`
- [HTTP client](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/api/api-client.ts): `src/api/api-client.ts`
- [Axios transport](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/api/axios.ts): `src/api/axios.ts`

### Projects and tasks

- [Dashboard](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/admin/Dashboard.tsx): `src/components/admin/Dashboard.tsx`
- [Project workflow](https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/project): `src/pages/admin/project`
- [Project detail](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/project/ProjectDetailPage.tsx): `src/pages/admin/project/ProjectDetailPage.tsx`
- [Task board](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/kanban/KanbanBoard.tsx): `src/components/kanban/KanbanBoard.tsx`
- [Task editor](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/kanban/TaskModal.tsx): `src/components/kanban/TaskModal.tsx`
- [Project service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/project/project.service.ts): `src/services/project/project.service.ts`
- [Task service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/task/task.service.ts): `src/services/task/task.service.ts`

### Administration

- [User management](https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/user): `src/pages/admin/user`
- [User profile](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/user/UserProfile.tsx): `src/pages/admin/user/UserProfile.tsx`
- [User service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/user/user.service.ts): `src/services/user/user.service.ts`
- [Directions](https://github.com/edbm-collab-task/collab-task-ui/tree/main/src/pages/admin/direction): `src/pages/admin/direction`
- [Direction service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/direction/direction.service.ts): `src/services/direction/direction.service.ts`

### Team collaboration

- [Messaging](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/message/MessagePage.tsx): `src/pages/admin/message/MessagePage.tsx`
- [Message service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/message/message.service.ts): `src/services/message/message.service.ts`
- [Message socket](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/components/message/message.socket.ts): `src/components/message/message.socket.ts`
- [Notifications](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/notification/NotificationsPage.tsx): `src/pages/admin/notification/NotificationsPage.tsx`
- [Notification service](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/services/notification/notification.service.ts): `src/services/notification/notification.service.ts`
- [Activity history](https://github.com/edbm-collab-task/collab-task-ui/blob/main/src/pages/admin/project/ActivityHistoryPage.tsx): `src/pages/admin/project/ActivityHistoryPage.tsx`

### Other components

- **User**
- **Spring Boot API**

## Connections

- User → Route dispatcher: opens app
- Route dispatcher → Sign-in and recovery: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Admin shell: protects admin (evidence: `src/router/index.tsx`)
- Route dispatcher → Dashboard: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Project workflow: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → User management: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Directions: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Messaging: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Notifications: routes to (evidence: `src/router/index.tsx`)
- Route dispatcher → Activity history: routes to (evidence: `src/router/index.tsx`)
- Session state → User: provides session
- Recovery session → User: provides recovery
- Dashboard → User service: fetches data (evidence: `src/components/admin/Dashboard.tsx`)
- Dashboard → Project service: fetches data (evidence: `src/components/admin/Dashboard.tsx`)
- Dashboard → Task service: fetches data (evidence: `src/components/admin/Dashboard.tsx`)
- Project detail → Project service: loads project (evidence: `src/pages/admin/project/ProjectDetailPage.tsx`)
- Project detail → Task service: loads tasks (evidence: `src/pages/admin/project/ProjectDetailPage.tsx`)
- Project detail → Task board: renders board (evidence: `src/pages/admin/project/ProjectDetailPage.tsx`)
- Project detail → Task editor: opens editor (evidence: `src/pages/admin/project/ProjectDetailPage.tsx`)
- Project detail → User service: loads contributors (evidence: `src/pages/admin/project/ProjectDetailPage.tsx`)
- Project service → Task service: loads statuses (evidence: `src/services/project/project.service.ts`)
- User profile → User service: manages profile (evidence: `src/pages/admin/user/UserProfile.tsx`)
- Messaging → Message service: requests messages (evidence: `src/pages/admin/message/MessagePage.tsx`)
- Messaging → Message socket: uses socket (evidence: `src/pages/admin/message/MessagePage.tsx`)
- User service → HTTP client: sends requests (evidence: `src/services/user/user.service.ts`)
- Project service → HTTP client: sends requests (evidence: `src/services/project/project.service.ts`)
- Task service → HTTP client: sends requests (evidence: `src/services/task/task.service.ts`)
- Direction service → HTTP client: sends requests (evidence: `src/services/direction/direction.service.ts`)
- Message service → HTTP client: sends requests (evidence: `src/services/message/message.service.ts`)
- Notification service → Axios transport: sends requests (evidence: `src/services/notification/notification.service.ts`)
- HTTP client → Axios transport: uses transport (evidence: `src/api/api-client.ts`)
- Axios transport → Spring Boot API: calls REST API
- Session state → User: authenticates
