# rishabh-jadav-15/classbuddy---student-management-system architecture

> Architecture diagram of the GitHub repository rishabh-jadav-15/classbuddy---student-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/rishabh-jadav-15/classbuddy---student-management-system
- Repository: https://github.com/rishabh-jadav-15/classbuddy---student-management-system

## Overview

ClassBuddy is a Tkinter desktop student-management application. A user enters hard-coded demo credentials in the login window; successful authentication imports the main application, which connects to MySQL and provides student, standard, fee, and attendance workflows. The README documents those major capabilities, while sampled code confirms student queries and writes, fee filtering, and attendance retrieval. Several feature links rely on README documentation because their implementation excerpts are incomplete.

Main entry points: [`sms3.py`](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py) (Main application), [`login.py`](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/login.py) (Login screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Login and launch"]
  node_login["Login screen<br/>[login.py]"]
end

subgraph group_management["School management"]
  node_application["Main application<br/>[sms3.py]"]
  node_students["Student records<br/>[sms3.py]"]
  node_standards["Standard details<br/>[sms3.py]"]
  node_fees["Fee tracking<br/>[sms3.py]"]
  node_attendance["Attendance records<br/>[sms3.py]"]
end

subgraph group_storage["Persistence"]
  node_mysql[("MySQL database")]
end

node_user(("User"))

node_user -->|"enters credentials"| node_login
node_login -->|"launches on success"| node_application
node_application -->|"connects to"| node_mysql
node_application -->|"opens workflow"| node_students
node_application -->|"opens workflow"| node_standards
node_application -->|"opens workflow"| node_fees
node_application -->|"opens workflow"| node_attendance
node_students -->|"reads and writes"| node_mysql
node_standards -->|"reads records"| node_mysql
node_fees -->|"reads fee data"| node_mysql
node_attendance -->|"reads attendance"| node_mysql

click node_login "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/login.py"
click node_application "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py"
click node_students "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py"
click node_standards "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py"
click node_fees "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py"
click node_attendance "https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.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_login,node_user toneBlue
class node_application,node_students,node_standards,node_fees,node_attendance toneAmber
class node_mysql toneMint
```

## Components

### Login and launch

- [Login screen](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/login.py): `login.py`

### School management

- [Main application](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py): `sms3.py`
- [Student records](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py): `sms3.py`
- [Standard details](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py): `sms3.py`
- [Fee tracking](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py): `sms3.py`
- [Attendance records](https://github.com/rishabh-jadav-15/classbuddy---student-management-system/blob/main/sms3.py): `sms3.py`

### Persistence

- **MySQL database**

### Other components

- **User**

## Connections

- User → Login screen: enters credentials (evidence: `login.py`)
- Login screen → Main application: launches on success (evidence: `login.py`)
- Main application → MySQL database: connects to (evidence: `README.md`)
- Main application → Student records: opens workflow (evidence: `README.md`)
- Main application → Standard details: opens workflow (evidence: `README.md`)
- Main application → Fee tracking: opens workflow (evidence: `README.md`)
- Main application → Attendance records: opens workflow (evidence: `README.md`)
- Student records → MySQL database: reads and writes (evidence: `sms3.py`)
- Standard details → MySQL database: reads records (evidence: `README.md`)
- Fee tracking → MySQL database: reads fee data (evidence: `sms3.py`)
- Attendance records → MySQL database: reads attendance (evidence: `sms3.py`)
