# shoaibdar/university-mangement-system architecture

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

- Interactive diagram: https://gitdiagram.com/shoaibdar/university-mangement-system
- Repository: https://github.com/shoaibdar/university-mangement-system

## Overview

UMS is a single-file C++ console application. Faculty and students enter through a shared login flow, then use role-specific menus for task management and student submissions. Task content, credentials, and submission-related state are stored in local files rather than a separate database. The README documents the major role capabilities; the source excerpt confirms the main entry-point calls and some file operations, but omits much of the implementation, so some documented feature links are supported by the README rather than sampled call sites.

Main entry points: [`projectcse.cpp`](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp) (Faculty Menu), [`Assigntask.txt`](https://github.com/shoaibdar/university-mangement-system/blob/master/Assigntask.txt) (Assigned Task Files), [`facultypassword.txt`](https://github.com/shoaibdar/university-mangement-system/blob/master/facultypassword.txt) (Faculty Credentials), [`11805152password.txt`](https://github.com/shoaibdar/university-mangement-system/blob/master/11805152password.txt) (Student Credentials)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and Menus"]
  node_entry["Console Entry<br/>[projectcse.cpp]"]
  node_login["Login<br/>[projectcse.cpp]"]
  node_password_update["Update Password<br/>[projectcse.cpp]"]
end

subgraph group_faculty["Faculty Tasks"]
  node_faculty_menu["Faculty Menu<br/>[projectcse.cpp]"]
  node_task_create["Create Task<br/>[projectcse.cpp]"]
  node_task_assign["Assign Task<br/>[projectcse.cpp]"]
  node_task_update["Update Task<br/>[projectcse.cpp]"]
  node_task_delete["Delete Task<br/>[projectcse.cpp]"]
end

subgraph group_student["Student Work"]
  node_student_menu["Student Menu<br/>[projectcse.cpp]"]
  node_student_view["View Tasks<br/>[projectcse.cpp]"]
  node_student_submit["Submit Task<br/>[projectcse.cpp]"]
  node_submission_date["Submission Date<br/>[projectcse.cpp]"]
end

subgraph group_storage["Local Files"]
  node_faculty_credentials["Faculty Credentials"]
  node_student_credentials["Student Credentials"]
  node_assigned_task["Assigned Task Files<br/>[Assigntask.txt]"]
  node_written_task["Task Draft<br/>[write.txt]"]
  node_submission_file["Student Submission"]
  node_submission_dates["Submission Dates"]
end

node_user(("Faculty or Student"))

node_user -->|"starts"| node_entry
node_entry -->|"calls"| node_login
node_entry -->|"calls"| node_faculty_menu
node_entry -->|"calls"| node_student_menu
node_login -->|"routes to"| node_faculty_menu
node_login -->|"routes to"| node_student_menu
node_login -.->|"checks"| node_faculty_credentials
node_login -.->|"checks"| node_student_credentials
node_faculty_menu -->|"offers"| node_task_create
node_faculty_menu -->|"offers"| node_task_assign
node_faculty_menu -->|"offers"| node_task_update
node_faculty_menu -->|"offers"| node_task_delete
node_task_create -->|"writes"| node_written_task
node_task_assign -.->|"assigns to"| node_assigned_task
node_task_update -.->|"updates"| node_assigned_task
node_task_delete -.->|"deletes"| node_assigned_task
node_student_menu -->|"offers"| node_student_view
node_student_menu -->|"offers"| node_student_submit
node_student_menu -->|"offers"| node_submission_date
node_student_menu -->|"offers"| node_password_update
node_student_view -.->|"reads"| node_assigned_task
node_student_submit -.->|"writes"| node_submission_file
node_submission_date -.->|"reads"| node_submission_dates
node_password_update -.->|"updates"| node_student_credentials
node_password_update -.->|"updates"| node_faculty_credentials

click node_entry "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_login "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_faculty_menu "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_student_menu "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_task_create "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_task_assign "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_task_update "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_task_delete "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_student_view "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_student_submit "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_submission_date "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_password_update "https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp"
click node_faculty_credentials "https://github.com/shoaibdar/university-mangement-system/blob/master/facultypassword.txt"
click node_student_credentials "https://github.com/shoaibdar/university-mangement-system/blob/master/11805152password.txt"
click node_assigned_task "https://github.com/shoaibdar/university-mangement-system/blob/master/Assigntask.txt"
click node_written_task "https://github.com/shoaibdar/university-mangement-system/blob/master/write.txt"
click node_submission_file "https://github.com/shoaibdar/university-mangement-system/blob/master/studentspersonalfile.txt"
click node_submission_dates "https://github.com/shoaibdar/university-mangement-system/blob/master/submission%20date.txt"

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_entry,node_login,node_password_update toneBlue
class node_faculty_menu,node_task_create,node_task_assign,node_task_update,node_task_delete toneAmber
class node_student_menu,node_student_view,node_student_submit,node_submission_date toneMint
class node_faculty_credentials,node_student_credentials,node_assigned_task,node_written_task,node_submission_file,node_submission_dates toneRose
class node_user toneIndigo
```

## Components

### Access and Menus

- [Console Entry](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Login](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Update Password](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`

### Faculty Tasks

- [Faculty Menu](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Create Task](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Assign Task](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Update Task](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Delete Task](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`

### Student Work

- [Student Menu](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [View Tasks](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Submit Task](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`
- [Submission Date](https://github.com/shoaibdar/university-mangement-system/blob/master/projectcse.cpp): `projectcse.cpp`

### Local Files

- [Faculty Credentials](https://github.com/shoaibdar/university-mangement-system/blob/master/facultypassword.txt): `facultypassword.txt`
- [Student Credentials](https://github.com/shoaibdar/university-mangement-system/blob/master/11805152password.txt): `11805152password.txt`
- [Assigned Task Files](https://github.com/shoaibdar/university-mangement-system/blob/master/Assigntask.txt): `Assigntask.txt`
- [Task Draft](https://github.com/shoaibdar/university-mangement-system/blob/master/write.txt): `write.txt`
- [Student Submission](https://github.com/shoaibdar/university-mangement-system/blob/master/studentspersonalfile.txt): `studentspersonalfile.txt`
- [Submission Dates](https://github.com/shoaibdar/university-mangement-system/blob/master/submission%20date.txt): `submission date.txt`

### Other components

- **Faculty or Student**

## Connections

- Faculty or Student → Console Entry: starts (evidence: `README.md`)
- Console Entry → Login: calls (evidence: `projectcse.cpp`)
- Console Entry → Faculty Menu: calls (evidence: `projectcse.cpp`)
- Console Entry → Student Menu: calls (evidence: `projectcse.cpp`)
- Login → Faculty Menu: routes to (evidence: `README.md`)
- Login → Student Menu: routes to (evidence: `README.md`)
- Login → Faculty Credentials: checks
- Login → Student Credentials: checks
- Faculty Menu → Create Task: offers (evidence: `README.md`)
- Faculty Menu → Assign Task: offers (evidence: `README.md`)
- Faculty Menu → Update Task: offers (evidence: `README.md`)
- Faculty Menu → Delete Task: offers (evidence: `README.md`)
- Create Task → Task Draft: writes (evidence: `projectcse.cpp`)
- Assign Task → Assigned Task Files: assigns to
- Update Task → Assigned Task Files: updates
- Delete Task → Assigned Task Files: deletes
- Student Menu → View Tasks: offers (evidence: `README.md`)
- Student Menu → Submit Task: offers (evidence: `README.md`)
- Student Menu → Submission Date: offers (evidence: `README.md`)
- Student Menu → Update Password: offers (evidence: `README.md`)
- View Tasks → Assigned Task Files: reads
- Submit Task → Student Submission: writes
- Submission Date → Submission Dates: reads
- Update Password → Student Credentials: updates
- Update Password → Faculty Credentials: updates
