# mamitianaantonio/taskflow-frontend architecture

> Architecture diagram of the GitHub repository mamitianaantonio/taskflow-frontend, 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/mamitianaantonio/taskflow-frontend
- Repository: https://github.com/mamitianaantonio/taskflow-frontend

## Overview

Taskflow is a React task and project management application. Users enter through home or authentication, then reach a protected dashboard to manage tasks and projects; the UI also offers notifications, global search, and profile settings. State stores mediate task and notification operations through service modules and an Axios client. The excerpts verify core routing, task/notification store behavior, and authentication calls; several feature pages and services are indexed but not excerpted, so their internal connections are not asserted.

Main entry points: [`src/App.tsx`](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/App.tsx) (Route application), [`src/api/axios.ts`](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/api/axios.ts) (HTTP client), [`src/pages/Auth.tsx`](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/Auth.tsx) (Login and signup), [`src/pages/TaskboardPage.tsx`](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/TaskboardPage.tsx) (Task board)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app["Route application<br/>[App.tsx]"]
  node_auth["Login and signup<br/>[Auth.tsx]"]
  node_loginform["Login form<br/>[LoginForm.tsx]"]
  node_signupform["Signup form<br/>[SignForm.tsx]"]
end

subgraph group_work["Task and project work"]
  node_dashboard["Dashboard home<br/>[DashboardHome.tsx]"]
  node_taskpage["Task board<br/>[TaskboardPage.tsx]"]
  node_taskdetail["Task detail<br/>[TaskDetail.tsx]"]
  node_projectpage["Projects<br/>[ProjectsPage.tsx]"]
  node_projectdetail["Project details"]
  node_projectboard["Project Kanban<br/>[KanbanBoard.tsx]"]
  node_search["Global search<br/>[GlobalSearch.tsx]"]
end

subgraph group_account["Account and alerts"]
  node_notifpage["Notifications"]
  node_settings["Profile settings<br/>[SettingsPage.tsx]"]
end

subgraph group_data["State and API"]
  node_taskstore["Task state<br/>[todoStore.ts]"]
  node_taskservice["Task API service<br/>[todo.ts]"]
  node_projectstore["Project state<br/>[projectStore.ts]"]
  node_projectservice["Project API service<br/>[project.ts]"]
  node_notifstore["Notification state"]
  node_notifservice["Notification API<br/>[notification.ts]"]
  node_authservice["Authentication service<br/>[auth.ts]"]
  node_http["HTTP client<br/>[axios.ts]"]
end

node_user(("User"))
node_backend(("Taskflow API"))

node_user -->|"opens"| node_app
node_app -->|"routes to"| node_auth
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_taskpage
node_app -->|"routes to"| node_projectpage
node_app -->|"routes to"| node_projectdetail
node_app -->|"routes to"| node_notifpage
node_app -->|"routes to"| node_settings
node_auth -->|"renders"| node_loginform
node_auth -->|"renders"| node_signupform
node_loginform -.->|"authenticates"| node_authservice
node_signupform -->|"registers"| node_authservice
node_authservice -->|"requests"| node_http
node_http -.->|"sends API calls"| node_backend
node_taskpage -->|"reads and mutates"| node_taskstore
node_taskpage -->|"renders"| node_taskdetail
node_projectdetail -->|"uses state"| node_projectstore
node_projectdetail -->|"renders"| node_projectboard
node_search -->|"searches tasks"| node_taskstore
node_search -->|"searches projects"| node_projectstore
node_taskstore -->|"calls"| node_taskservice
node_projectstore -->|"calls"| node_projectservice
node_notifstore -->|"calls"| node_notifservice
node_taskservice -.->|"uses client"| node_http
node_projectservice -.->|"uses client"| node_http
node_notifservice -->|"uses client"| node_http

click node_app "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/App.tsx"
click node_auth "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/Auth.tsx"
click node_loginform "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/LoginForm.tsx"
click node_signupform "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/SignForm.tsx"
click node_dashboard "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/DashboardHome.tsx"
click node_taskpage "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/TaskboardPage.tsx"
click node_taskdetail "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/components/TaskBoard/TaskDetail.tsx"
click node_taskstore "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/todoStore.ts"
click node_taskservice "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/todo.ts"
click node_projectpage "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/ProjectsPage.tsx"
click node_projectdetail "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/ProjectDetailsPage.tsx"
click node_projectboard "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/components/Projects/KanbanBoard.tsx"
click node_projectstore "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/projectStore.ts"
click node_projectservice "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/project.ts"
click node_search "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/GlobalSearch.tsx"
click node_notifpage "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/NotificationsPage.tsx"
click node_notifstore "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/notificationStore.ts"
click node_notifservice "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/notification.ts"
click node_settings "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/SettingsPage.tsx"
click node_authservice "https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/auth.ts"
click node_http "https://github.com/mamitianaantonio/taskflow-frontend/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_app,node_auth,node_loginform,node_signupform,node_user toneBlue
class node_dashboard,node_taskpage,node_taskdetail,node_projectpage,node_projectdetail,node_projectboard,node_search toneAmber
class node_notifpage,node_settings toneMint
class node_taskstore,node_taskservice,node_projectstore,node_projectservice,node_notifstore,node_notifservice,node_authservice,node_http,node_backend toneRose
```

## Components

### App entry

- [Route application](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/App.tsx): `src/App.tsx`
- [Login and signup](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/Auth.tsx): `src/pages/Auth.tsx`
- [Login form](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/LoginForm.tsx): `src/layouts/LoginForm.tsx`
- [Signup form](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/SignForm.tsx): `src/layouts/SignForm.tsx`

### Task and project work

- [Dashboard home](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/DashboardHome.tsx): `src/pages/DashboardHome.tsx`
- [Task board](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/TaskboardPage.tsx): `src/pages/TaskboardPage.tsx`
- [Task detail](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/components/TaskBoard/TaskDetail.tsx): `src/components/TaskBoard/TaskDetail.tsx`
- [Projects](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/ProjectsPage.tsx): `src/pages/ProjectsPage.tsx`
- [Project details](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/ProjectDetailsPage.tsx): `src/pages/ProjectDetailsPage.tsx`
- [Project Kanban](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/components/Projects/KanbanBoard.tsx): `src/components/Projects/KanbanBoard.tsx`
- [Global search](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/layouts/GlobalSearch.tsx): `src/layouts/GlobalSearch.tsx`

### Account and alerts

- [Notifications](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/NotificationsPage.tsx): `src/pages/NotificationsPage.tsx`
- [Profile settings](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/pages/SettingsPage.tsx): `src/pages/SettingsPage.tsx`

### State and API

- [Task state](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/todoStore.ts): `src/stores/todoStore.ts`
- [Task API service](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/todo.ts): `src/services/todo.ts`
- [Project state](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/projectStore.ts): `src/stores/projectStore.ts`
- [Project API service](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/project.ts): `src/services/project.ts`
- [Notification state](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/stores/notificationStore.ts): `src/stores/notificationStore.ts`
- [Notification API](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/notification.ts): `src/services/notification.ts`
- [Authentication service](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/services/auth.ts): `src/services/auth.ts`
- [HTTP client](https://github.com/mamitianaantonio/taskflow-frontend/blob/main/src/api/axios.ts): `src/api/axios.ts`

### Other components

- **User**
- **Taskflow API**

## Connections

- User → Route application: opens (evidence: `src/App.tsx`)
- Route application → Login and signup: routes to (evidence: `src/App.tsx`)
- Route application → Dashboard home: routes to (evidence: `src/App.tsx`)
- Route application → Task board: routes to (evidence: `src/App.tsx`)
- Route application → Projects: routes to (evidence: `src/App.tsx`)
- Route application → Project details: routes to (evidence: `src/App.tsx`)
- Route application → Notifications: routes to (evidence: `src/App.tsx`)
- Route application → Profile settings: routes to (evidence: `src/App.tsx`)
- Login and signup → Login form: renders (evidence: `src/pages/Auth.tsx`)
- Login and signup → Signup form: renders (evidence: `src/pages/Auth.tsx`)
- Login form → Authentication service: authenticates
- Signup form → Authentication service: registers (evidence: `src/layouts/SignForm.tsx`)
- Authentication service → HTTP client: requests (evidence: `src/services/auth.ts`)
- HTTP client → Taskflow API: sends API calls
- Task board → Task state: reads and mutates (evidence: `src/pages/TaskboardPage.tsx`)
- Task board → Task detail: renders (evidence: `src/pages/TaskboardPage.tsx`)
- Project details → Project state: uses state (evidence: `src/pages/ProjectDetailsPage.tsx`)
- Project details → Project Kanban: renders (evidence: `src/pages/ProjectDetailsPage.tsx`)
- Global search → Task state: searches tasks (evidence: `src/layouts/GlobalSearch.tsx`)
- Global search → Project state: searches projects (evidence: `src/layouts/GlobalSearch.tsx`)
- Task state → Task API service: calls (evidence: `src/stores/todoStore.ts`)
- Project state → Project API service: calls (evidence: `src/stores/projectStore.ts`)
- Notification state → Notification API: calls (evidence: `src/stores/notificationStore.ts`)
- Task API service → HTTP client: uses client
- Project API service → HTTP client: uses client
- Notification API → HTTP client: uses client (evidence: `src/services/notification.ts`)
