# cheikhouna-bamba1/rassoul architecture

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

- Interactive diagram: https://gitdiagram.com/cheikhouna-bamba1/rassoul
- Repository: https://github.com/cheikhouna-bamba1/rassoul

## Overview

ESMT Collaborative Task Manager supports professors and students through both a native Django interface and a React interface backed by the same Django API and data store. The principal workflow is to authenticate, create or join a project, assign and update its tasks, then review progress and quarterly or annual bonus statistics. The graph includes the documented advanced search, filters, calendar export, and teacher-only student management; their detailed implementation was not sampled. Edges are limited to documented relationships or visible calls, and the shared database is represented without assuming its engine beyond the README.

Main entry points: [`frontend/src/App.jsx`](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/App.jsx) (React routes), [`frontend/src/store`](https://github.com/cheikhouna-bamba1/rassoul/tree/main/frontend/src/store) (Redux state), [`backend/apps/core/views.py`](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/views.py) (REST API & statistics), [`frontend/src/api/axios.js`](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/api/axios.js) (JWT API client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web Interfaces"]
  node_native["Native Django UI<br/>[template_views.py]"]
  node_native_templates["HTML templates"]
end

subgraph group_client["React Client"]
  node_app_routes["React routes<br/>[App.jsx]"]
  node_auth_pages["Sign-in &amp; registration<br/>[LoginPage.jsx]"]
  node_dashboard["Project dashboard<br/>[DashboardPage.jsx]"]
  node_project_detail["Project &amp; task detail"]
  node_profile["User profile<br/>[ProfilePage.jsx]"]
  node_statistics["Statistics &amp; bonuses<br/>[StatisticsPage.jsx]"]
  node_student_management["Student management"]
  node_client_state["Redux state"]
  node_http_client["JWT API client<br/>[axios.js]"]
end

subgraph group_server["Django Application"]
  node_api_routes["API routing<br/>[urls.py]"]
  node_api_views["REST API &amp; statistics<br/>[views.py]"]
  node_serialization["Validation &amp; serialization<br/>[serializers.py]"]
  node_permissions["Access rules<br/>[permissions.py]"]
end

subgraph group_domain["Task Domain"]
  node_account_project["Accounts &amp; projects<br/>[models.py]"]
  node_tasks["Task lifecycle<br/>[models.py]"]
  node_evaluations["Evaluation &amp; bonuses<br/>[models.py]"]
end

subgraph group_data["Persistence"]
  node_database[("Shared MySQL database")]
end

node_users(("Professors &amp; students"))

node_users -->|"use"| node_native
node_native -->|"renders"| node_native_templates
node_users -->|"use"| node_app_routes
node_app_routes -->|"routes to"| node_auth_pages
node_app_routes -->|"routes to"| node_dashboard
node_app_routes -->|"routes to"| node_project_detail
node_app_routes -->|"routes to"| node_profile
node_app_routes -->|"routes to"| node_statistics
node_app_routes -->|"role-gates"| node_student_management
node_auth_pages -->|"dispatches"| node_client_state
node_profile -->|"dispatches"| node_client_state
node_dashboard -->|"dispatches"| node_client_state
node_project_detail -->|"dispatches"| node_client_state
node_statistics -->|"requests"| node_http_client
node_student_management -->|"requests"| node_http_client
node_client_state -->|"requests"| node_http_client
node_client_state -->|"requests"| node_http_client
node_client_state -->|"requests"| node_http_client
node_http_client -->|"sends API requests"| node_api_routes
node_native -->|"reads &amp; updates"| node_account_project
node_api_routes -->|"routes"| node_api_views
node_api_views -->|"uses serializers"| node_serialization
node_api_views -->|"checks access"| node_permissions
node_serialization -->|"validates accounts &amp; projects"| node_account_project
node_api_views -->|"queries &amp; updates"| node_account_project
node_api_views -->|"queries tasks"| node_tasks
node_api_views -->|"calculates statistics"| node_evaluations
node_account_project -->|"persists"| node_database
node_tasks -->|"persists"| node_database
node_evaluations -->|"persists"| node_database

click node_native "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/template_views.py"
click node_native_templates "https://github.com/cheikhouna-bamba1/rassoul/tree/main/backend/templates"
click node_app_routes "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/App.jsx"
click node_auth_pages "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/LoginPage.jsx"
click node_dashboard "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/DashboardPage.jsx"
click node_project_detail "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/ProjectDetailPage.jsx"
click node_profile "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/ProfilePage.jsx"
click node_statistics "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/StatisticsPage.jsx"
click node_student_management "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/StudentManagementPage.jsx"
click node_client_state "https://github.com/cheikhouna-bamba1/rassoul/tree/main/frontend/src/store"
click node_http_client "https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/api/axios.js"
click node_api_routes "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/urls.py"
click node_api_views "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/views.py"
click node_serialization "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/serializers.py"
click node_permissions "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/permissions.py"
click node_account_project "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py"
click node_tasks "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py"
click node_evaluations "https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py"

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_native,node_native_templates toneBlue
class node_app_routes,node_auth_pages,node_dashboard,node_project_detail,node_profile,node_statistics,node_student_management,node_client_state,node_http_client toneAmber
class node_api_routes,node_api_views,node_serialization,node_permissions toneMint
class node_account_project,node_tasks,node_evaluations toneRose
class node_database,node_users toneIndigo
```

## Components

### Web Interfaces

- [Native Django UI](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/template_views.py): `backend/apps/core/template_views.py`
- [HTML templates](https://github.com/cheikhouna-bamba1/rassoul/tree/main/backend/templates): `backend/templates`

### React Client

- [React routes](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Sign-in & registration](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/LoginPage.jsx): `frontend/src/pages/LoginPage.jsx`
- [Project dashboard](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/DashboardPage.jsx): `frontend/src/pages/DashboardPage.jsx`
- [Project & task detail](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/ProjectDetailPage.jsx): `frontend/src/pages/ProjectDetailPage.jsx`
- [User profile](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/ProfilePage.jsx): `frontend/src/pages/ProfilePage.jsx`
- [Statistics & bonuses](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/StatisticsPage.jsx): `frontend/src/pages/StatisticsPage.jsx`
- [Student management](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/pages/StudentManagementPage.jsx): `frontend/src/pages/StudentManagementPage.jsx`
- [Redux state](https://github.com/cheikhouna-bamba1/rassoul/tree/main/frontend/src/store): `frontend/src/store`
- [JWT API client](https://github.com/cheikhouna-bamba1/rassoul/blob/main/frontend/src/api/axios.js): `frontend/src/api/axios.js`

### Django Application

- [API routing](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/urls.py): `backend/apps/core/urls.py`
- [REST API & statistics](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/views.py): `backend/apps/core/views.py`
- [Validation & serialization](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/serializers.py): `backend/apps/core/serializers.py`
- [Access rules](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/permissions.py): `backend/apps/core/permissions.py`

### Task Domain

- [Accounts & projects](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py): `backend/apps/core/models.py`
- [Task lifecycle](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py): `backend/apps/core/models.py`
- [Evaluation & bonuses](https://github.com/cheikhouna-bamba1/rassoul/blob/main/backend/apps/core/models.py): `backend/apps/core/models.py`

### Persistence

- **Shared MySQL database**

### Other components

- **Professors & students**

## Connections

- Professors & students → Native Django UI: use (evidence: `README.md`)
- Native Django UI → HTML templates: renders (evidence: `backend/apps/core/template_views.py`)
- Professors & students → React routes: use (evidence: `README.md`)
- React routes → Sign-in & registration: routes to (evidence: `frontend/src/App.jsx`)
- React routes → Project dashboard: routes to (evidence: `frontend/src/App.jsx`)
- React routes → Project & task detail: routes to (evidence: `frontend/src/App.jsx`)
- React routes → User profile: routes to (evidence: `frontend/src/App.jsx`)
- React routes → Statistics & bonuses: routes to (evidence: `frontend/src/App.jsx`)
- React routes → Student management: role-gates (evidence: `frontend/src/App.jsx`)
- Sign-in & registration → Redux state: dispatches (evidence: `frontend/src/pages/LoginPage.jsx`)
- User profile → Redux state: dispatches (evidence: `frontend/src/pages/ProfilePage.jsx`)
- Project dashboard → Redux state: dispatches (evidence: `frontend/src/pages/DashboardPage.jsx`)
- Project & task detail → Redux state: dispatches (evidence: `frontend/src/pages/ProjectDetailPage.jsx`)
- Statistics & bonuses → JWT API client: requests (evidence: `frontend/src/pages/StatisticsPage.jsx`)
- Student management → JWT API client: requests (evidence: `frontend/src/pages/StudentManagementPage.jsx`)
- Redux state → JWT API client: requests (evidence: `frontend/src/store/authSlice.js`)
- Redux state → JWT API client: requests (evidence: `frontend/src/store/projectsSlice.js`)
- Redux state → JWT API client: requests (evidence: `frontend/src/store/tasksSlice.js`)
- JWT API client → API routing: sends API requests (evidence: `README.md`)
- Native Django UI → Accounts & projects: reads & updates (evidence: `backend/apps/core/template_views.py`)
- API routing → REST API & statistics: routes (evidence: `backend/apps/core/urls.py`)
- REST API & statistics → Validation & serialization: uses serializers (evidence: `backend/apps/core/views.py`)
- REST API & statistics → Access rules: checks access (evidence: `backend/apps/core/views.py`)
- Validation & serialization → Accounts & projects: validates accounts & projects (evidence: `backend/apps/core/serializers.py`)
- REST API & statistics → Accounts & projects: queries & updates (evidence: `backend/apps/core/views.py`)
- REST API & statistics → Task lifecycle: queries tasks (evidence: `backend/apps/core/views.py`)
- REST API & statistics → Evaluation & bonuses: calculates statistics (evidence: `README.md`)
- Accounts & projects → Shared MySQL database: persists (evidence: `README.md`)
- Task lifecycle → Shared MySQL database: persists (evidence: `README.md`)
- Evaluation & bonuses → Shared MySQL database: persists (evidence: `README.md`)
