# viktortoman/portfolio-fullstack-kanban-laravel-react architecture

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

- Interactive diagram: https://gitdiagram.com/viktortoman/portfolio-fullstack-kanban-laravel-react
- Repository: https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react

## Overview

TaskFlow is a full-stack Kanban application: users register or log in, manage boards, and create, edit, delete, and drag task cards across To Do, In Progress, and Done columns. The React client routes users through authenticated dashboard and board views; board interactions call a Laravel REST API, whose controllers validate and authorize operations against user, board, and task models. The README documents MySQL persistence and Swagger API documentation. Some UI and policy implementations were not excerpted, so their internal links are omitted; API and proxy relationships documented in the README are cited there.

Main entry points: [`backend/routes/api.php`](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/routes/api.php) (API routes), [`frontend/src/api/axios.js`](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/api/axios.js) (API client), [`frontend/src/pages/BoardPage.jsx`](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/BoardPage.jsx) (Board workspace), [`frontend/src/App.jsx`](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/App.jsx) (Route application)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["React client"]
  node_app["Route application<br/>[App.jsx]"]
  node_authstate["Authentication state<br/>[AuthContext.jsx]"]
  node_authpages["Login and registration<br/>[LoginPage.jsx]"]
  node_dashboard["Board dashboard<br/>[DashboardPage.jsx]"]
  node_boardpage["Board workspace<br/>[BoardPage.jsx]"]
  node_boardui["Task cards and columns<br/>[BoardColumn.jsx]"]
  node_dnd["Drag and drop<br/>[useBoardDnd.js]"]
  node_loader["Board data loader<br/>[useBoardLoader.js]"]
  node_mutations["Task and board mutations"]
  node_http["API client<br/>[axios.js]"]
end

subgraph group_backend["Laravel API"]
  node_routes["API routes<br/>[api.php]"]
  node_authapi["Authentication API<br/>[AuthController.php]"]
  node_boardapi["Board API"]
  node_taskapi["Task API<br/>[TaskController.php]"]
  node_statusapi["Status API"]
  node_validation["Request validation"]
end

subgraph group_domain["Kanban domain"]
  node_user["User accounts<br/>[User.php]"]
  node_board["Boards<br/>[Board.php]"]
  node_task["Task cards and status<br/>[Task.php]"]
end

subgraph group_services["Persistence and API"]
  node_mysql[("MySQL database")]
  node_swagger["Swagger API docs<br/>[l5-swagger.php]"]
end

node_person(("User"))

node_person -->|"uses"| node_app
node_app -->|"routes"| node_authpages
node_app -->|"routes"| node_dashboard
node_app -->|"routes"| node_boardpage
node_authstate -->|"calls"| node_http
node_authpages -->|"authenticates"| node_authstate
node_dashboard -.->|"requests boards"| node_http
node_boardpage -->|"loads board"| node_loader
node_boardpage -->|"uses mutations"| node_mutations
node_boardpage -->|"uses drag logic"| node_dnd
node_boardpage -->|"renders"| node_boardui
node_loader -->|"requests data"| node_http
node_mutations -->|"calls"| node_http
node_dnd -->|"reorders via"| node_http
node_http -->|"sends API requests"| node_routes
node_routes -->|"dispatches"| node_authapi
node_routes -->|"dispatches"| node_boardapi
node_routes -->|"dispatches"| node_taskapi
node_routes -->|"dispatches"| node_statusapi
node_authapi -->|"creates and reads"| node_user
node_boardapi -->|"manages"| node_board
node_taskapi -->|"queries board"| node_board
node_taskapi -->|"manages and reorders"| node_task
node_authapi -->|"accepts validated input"| node_validation
node_boardapi -->|"accepts validated input"| node_validation
node_taskapi -->|"accepts validated input"| node_validation
node_board -.->|"persists"| node_mysql
node_task -.->|"persists"| node_mysql
node_user -.->|"persists"| node_mysql
node_swagger -.->|"documents API"| node_routes

click node_app "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/App.jsx"
click node_authstate "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/context/AuthContext.jsx"
click node_authpages "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/LoginPage.jsx"
click node_dashboard "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/DashboardPage.jsx"
click node_boardpage "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/BoardPage.jsx"
click node_boardui "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/components/BoardColumn.jsx"
click node_dnd "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useBoardDnd.js"
click node_loader "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useBoardLoader.js"
click node_mutations "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useTaskMutations.js"
click node_http "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/api/axios.js"
click node_routes "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/routes/api.php"
click node_authapi "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/AuthController.php"
click node_boardapi "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/BoardController.php"
click node_taskapi "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/TaskController.php"
click node_statusapi "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/StatusController.php"
click node_validation "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/tree/main/backend/app/Http/Requests/Api/V1"
click node_user "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/User.php"
click node_board "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/Board.php"
click node_task "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/Task.php"
click node_swagger "https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/config/l5-swagger.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_app,node_authstate,node_authpages,node_dashboard,node_boardpage,node_boardui,node_dnd,node_loader,node_mutations,node_http,node_person toneBlue
class node_routes,node_authapi,node_boardapi,node_taskapi,node_statusapi,node_validation toneAmber
class node_user,node_board,node_task toneMint
class node_mysql,node_swagger toneRose
```

## Components

### React client

- [Route application](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Authentication state](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/context/AuthContext.jsx): `frontend/src/context/AuthContext.jsx`
- [Login and registration](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/LoginPage.jsx): `frontend/src/pages/LoginPage.jsx`
- [Board dashboard](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/DashboardPage.jsx): `frontend/src/pages/DashboardPage.jsx`
- [Board workspace](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/pages/BoardPage.jsx): `frontend/src/pages/BoardPage.jsx`
- [Task cards and columns](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/components/BoardColumn.jsx): `frontend/src/components/BoardColumn.jsx`
- [Drag and drop](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useBoardDnd.js): `frontend/src/hooks/useBoardDnd.js`
- [Board data loader](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useBoardLoader.js): `frontend/src/hooks/useBoardLoader.js`
- [Task and board mutations](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/hooks/useTaskMutations.js): `frontend/src/hooks/useTaskMutations.js`
- [API client](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/frontend/src/api/axios.js): `frontend/src/api/axios.js`

### Laravel API

- [API routes](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/routes/api.php): `backend/routes/api.php`
- [Authentication API](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/AuthController.php): `backend/app/Http/Controllers/Api/V1/AuthController.php`
- [Board API](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/BoardController.php): `backend/app/Http/Controllers/Api/V1/BoardController.php`
- [Task API](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/TaskController.php): `backend/app/Http/Controllers/Api/V1/TaskController.php`
- [Status API](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Http/Controllers/Api/V1/StatusController.php): `backend/app/Http/Controllers/Api/V1/StatusController.php`
- [Request validation](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/tree/main/backend/app/Http/Requests/Api/V1): `backend/app/Http/Requests/Api/V1`

### Kanban domain

- [User accounts](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/User.php): `backend/app/Models/User.php`
- [Boards](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/Board.php): `backend/app/Models/Board.php`
- [Task cards and status](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/app/Models/Task.php): `backend/app/Models/Task.php`

### Persistence and API

- **MySQL database**
- [Swagger API docs](https://github.com/viktortoman/portfolio-fullstack-kanban-laravel-react/blob/main/backend/config/l5-swagger.php): `backend/config/l5-swagger.php`

### Other components

- **User**

## Connections

- User → Route application: uses
- Route application → Login and registration: routes (evidence: `frontend/src/App.jsx`)
- Route application → Board dashboard: routes (evidence: `frontend/src/App.jsx`)
- Route application → Board workspace: routes (evidence: `frontend/src/App.jsx`)
- Authentication state → API client: calls (evidence: `frontend/src/context/AuthContext.jsx`)
- Login and registration → Authentication state: authenticates
- Board dashboard → API client: requests boards
- Board workspace → Board data loader: loads board (evidence: `frontend/src/pages/BoardPage.jsx`)
- Board workspace → Task and board mutations: uses mutations (evidence: `frontend/src/pages/BoardPage.jsx`)
- Board workspace → Drag and drop: uses drag logic (evidence: `frontend/src/pages/BoardPage.jsx`)
- Board workspace → Task cards and columns: renders (evidence: `frontend/src/pages/BoardPage.jsx`)
- Board data loader → API client: requests data (evidence: `frontend/src/hooks/useBoardLoader.js`)
- Task and board mutations → API client: calls (evidence: `frontend/src/hooks/useTaskMutations.js`)
- Drag and drop → API client: reorders via (evidence: `frontend/src/hooks/useBoardDnd.js`)
- API client → API routes: sends API requests
- API routes → Authentication API: dispatches (evidence: `backend/routes/api.php`)
- API routes → Board API: dispatches (evidence: `backend/routes/api.php`)
- API routes → Task API: dispatches (evidence: `backend/routes/api.php`)
- API routes → Status API: dispatches (evidence: `backend/routes/api.php`)
- Authentication API → User accounts: creates and reads (evidence: `backend/app/Http/Controllers/Api/V1/AuthController.php`)
- Board API → Boards: manages (evidence: `backend/app/Http/Controllers/Api/V1/BoardController.php`)
- Task API → Boards: queries board (evidence: `backend/app/Http/Controllers/Api/V1/TaskController.php`)
- Task API → Task cards and status: manages and reorders (evidence: `backend/app/Http/Controllers/Api/V1/TaskController.php`)
- Authentication API → Request validation: accepts validated input (evidence: `backend/app/Http/Controllers/Api/V1/AuthController.php`)
- Board API → Request validation: accepts validated input (evidence: `backend/app/Http/Controllers/Api/V1/BoardController.php`)
- Task API → Request validation: accepts validated input (evidence: `backend/app/Http/Controllers/Api/V1/TaskController.php`)
- Boards → MySQL database: persists
- Task cards and status → MySQL database: persists
- User accounts → MySQL database: persists
- Swagger API docs → API routes: documents API
