# alhanoufkmlz/qubaati-system architecture

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

- Interactive diagram: https://gitdiagram.com/alhanoufkmlz/qubaati-system
- Repository: https://github.com/alhanoufkmlz/qubaati-system

## Overview

Qubaati is an AI-assisted learning platform for students, teachers, and parents. The main learning journey spans teacher-authored activities, review and assignment, student submissions and feedback; students also play career-world missions, while parents and teachers monitor progress. The README documents subscriptions, dashboards, AI capabilities, and weekly reports. The supplied tree contains no Java implementation files, so backend nodes use the controller directory evidenced in the supplied excerpts, and relationships reflect README documentation rather than inspected runtime calls.

Main entry points: [`src/main/java/com/example/qubaatisystem/Controller`](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller) (Submission and grading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning journeys"]
  node_mission["Career-world missions"]
  node_profile["Skills and learning style"]
end

subgraph group_classroom["Classroom activities"]
  node_activity["Activity authoring"]
  node_review["Review workflow"]
  node_assignment["Activity assignment"]
  node_submission["Submission and grading"]
  node_feedback["Feedback and reopening"]
end

subgraph group_insights["Progress insights"]
  node_dashboards["Role dashboards"]
  node_weekly["Weekly reports"]
end

subgraph group_platform["Platform services"]
  node_ai["AI services"]
  node_database[("Relational database")]
  node_moyasar["Moyasar payments"]
  node_n8n["n8n automation"]
  node_notifications["Notifications"]
end

node_student(("Student"))
node_teacher(("Teacher"))
node_parent(("Parent"))

node_teacher -->|"creates"| node_activity
node_activity -->|"generates and refines"| node_ai
node_teacher -->|"reviews activities"| node_review
node_teacher -->|"assigns activities"| node_assignment
node_student -->|"starts assigned work"| node_assignment
node_student -->|"submits answers"| node_submission
node_submission -->|"supports grading"| node_ai
node_submission -->|"produces feedback"| node_feedback
node_teacher -->|"grades and responds"| node_feedback
node_student -->|"plays missions"| node_mission
node_mission -->|"updates learning profile"| node_profile
node_submission -->|"updates skills"| node_profile
node_teacher -->|"views insights"| node_dashboards
node_parent -->|"views child progress"| node_dashboards
node_dashboards -->|"requests insights"| node_ai
node_parent -->|"views reports"| node_weekly
node_n8n -->|"generates reports"| node_weekly
node_teacher -->|"starts checkout"| node_moyasar
node_parent -->|"starts checkout"| node_moyasar
node_assignment -.->|"notifies users"| node_notifications
node_activity -.->|"persists learning data"| node_database

click node_activity "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_review "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_assignment "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_submission "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_feedback "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_mission "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_profile "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_dashboards "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_weekly "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"
click node_ai "https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller"

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_mission,node_profile toneBlue
class node_activity,node_review,node_assignment,node_submission,node_feedback toneAmber
class node_dashboards,node_weekly toneMint
class node_ai,node_database,node_moyasar,node_n8n,node_notifications toneRose
class node_student,node_teacher,node_parent toneIndigo
```

## Components

### Learning journeys

- [Career-world missions](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Skills and learning style](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`

### Classroom activities

- [Activity authoring](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Review workflow](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Activity assignment](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Submission and grading](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Feedback and reopening](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`

### Progress insights

- [Role dashboards](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- [Weekly reports](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`

### Platform services

- [AI services](https://github.com/alhanoufkmlz/qubaati-system/tree/main/src/main/java/com/example/qubaatisystem/Controller): `src/main/java/com/example/qubaatisystem/Controller`
- **Relational database**
- **Moyasar payments**
- **n8n automation**
- **Notifications**

### Other components

- **Student**
- **Teacher**
- **Parent**

## Connections

- Teacher → Activity authoring: creates (evidence: `README.md`)
- Activity authoring → AI services: generates and refines (evidence: `README.md`)
- Teacher → Review workflow: reviews activities (evidence: `README.md`)
- Teacher → Activity assignment: assigns activities (evidence: `README.md`)
- Student → Activity assignment: starts assigned work (evidence: `README.md`)
- Student → Submission and grading: submits answers (evidence: `README.md`)
- Submission and grading → AI services: supports grading (evidence: `README.md`)
- Submission and grading → Feedback and reopening: produces feedback (evidence: `README.md`)
- Teacher → Feedback and reopening: grades and responds (evidence: `README.md`)
- Student → Career-world missions: plays missions (evidence: `README.md`)
- Career-world missions → Skills and learning style: updates learning profile (evidence: `README.md`)
- Submission and grading → Skills and learning style: updates skills (evidence: `README.md`)
- Teacher → Role dashboards: views insights (evidence: `README.md`)
- Parent → Role dashboards: views child progress (evidence: `README.md`)
- Role dashboards → AI services: requests insights (evidence: `README.md`)
- Parent → Weekly reports: views reports (evidence: `README.md`)
- n8n automation → Weekly reports: generates reports (evidence: `README.md`)
- Teacher → Moyasar payments: starts checkout (evidence: `README.md`)
- Parent → Moyasar payments: starts checkout (evidence: `README.md`)
- Activity assignment → Notifications: notifies users
- Activity authoring → Relational database: persists learning data
