# tieneshoabeai/course-management-system architecture

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

- Interactive diagram: https://gitdiagram.com/tieneshoabeai/course-management-system
- Repository: https://github.com/tieneshoabeai/course-management-system

## Overview

This repository currently contains a minimal NestJS backend scaffold, alongside placeholder frontend and AI directories. The README describes a broader course-management product: students register for courses, administrators manage academic data, faculty view teaching information, and AI provides face login and RAG search. Those capabilities are represented as documented product areas, not verified implementations; no sampled source shows frontend-to-backend or backend-to-AI wiring.

Main entry points: [`backend/src/app.module.ts`](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.module.ts) (App module), [`backend/src/app.controller.ts`](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.controller.ts) (Root controller), [`frontend`](https://github.com/tieneshoabeai/course-management-system/tree/main/frontend) (Admin and faculty), [`backend/src/app.service.ts`](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.service.ts) (Hello service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_clients["User applications"]
  node_student_portal["Student portal"]
  node_admin_faculty["Admin and faculty"]
end

subgraph group_backend["Backend runtime"]
  node_backend_entry["HTTP bootstrap<br/>[main.ts]"]
  node_app_module["App module<br/>[app.module.ts]"]
  node_app_controller["Root controller<br/>[app.controller.ts]"]
  node_app_service["Hello service<br/>[app.service.ts]"]
end

subgraph group_ai["AI capabilities"]
  node_ai_service["AI service"]
  node_face_login["Face login"]
  node_rag_search["RAG search"]
end

node_student(("Student"))
node_administrator(("Administrator"))
node_faculty(("Faculty"))

node_student -->|"uses"| node_student_portal
node_administrator -->|"uses"| node_admin_faculty
node_faculty -->|"uses"| node_admin_faculty
node_backend_entry -->|"starts"| node_app_module
node_app_module -->|"registers"| node_app_controller
node_app_module -->|"provides"| node_app_service
node_app_controller -->|"calls"| node_app_service

click node_student_portal "https://github.com/tieneshoabeai/course-management-system/tree/main/frontend"
click node_admin_faculty "https://github.com/tieneshoabeai/course-management-system/tree/main/frontend"
click node_ai_service "https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference"
click node_face_login "https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference"
click node_rag_search "https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference"
click node_backend_entry "https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/main.ts"
click node_app_module "https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.module.ts"
click node_app_controller "https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.controller.ts"
click node_app_service "https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.service.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_student_portal,node_admin_faculty toneBlue
class node_backend_entry,node_app_module,node_app_controller,node_app_service toneAmber
class node_ai_service,node_face_login,node_rag_search toneMint
class node_student,node_administrator,node_faculty toneIndigo
```

## Components

### User applications

- [Student portal](https://github.com/tieneshoabeai/course-management-system/tree/main/frontend): `frontend`
- [Admin and faculty](https://github.com/tieneshoabeai/course-management-system/tree/main/frontend): `frontend`

### Backend runtime

- [HTTP bootstrap](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/main.ts): `backend/src/main.ts`
- [App module](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.module.ts): `backend/src/app.module.ts`
- [Root controller](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.controller.ts): `backend/src/app.controller.ts`
- [Hello service](https://github.com/tieneshoabeai/course-management-system/blob/main/backend/src/app.service.ts): `backend/src/app.service.ts`

### AI capabilities

- [AI service](https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference): `ai_inference`
- [Face login](https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference): `ai_inference`
- [RAG search](https://github.com/tieneshoabeai/course-management-system/tree/main/ai_inference): `ai_inference`

### Other components

- **Student**
- **Administrator**
- **Faculty**

## Connections

- Student → Student portal: uses (evidence: `README.md`)
- Administrator → Admin and faculty: uses (evidence: `README.md`)
- Faculty → Admin and faculty: uses (evidence: `README.md`)
- HTTP bootstrap → App module: starts (evidence: `backend/src/main.ts`)
- App module → Root controller: registers (evidence: `backend/src/app.module.ts`)
- App module → Hello service: provides (evidence: `backend/src/app.module.ts`)
- Root controller → Hello service: calls (evidence: `backend/src/app.controller.ts`)
