# aathifpm/feedback_system architecture

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

- Interactive diagram: https://gitdiagram.com/aathifpm/feedback_system
- Repository: https://github.com/aathifpm/feedback_system

## Overview

Feedback System is an institutional web application for role-based feedback, surveys, attendance, academic administration, and reporting. A typical student flow is to sign in, submit feedback or a survey, and have responses available for analytics and reports; administrators manage the academic structures and feedback programs that support this work. Faculty and HODs have their own access and review workflows. The README documents broader capabilities than the sampled source confirms, so some feature links are documented rather than verified in code; the database is represented as the MySQL/MariaDB service described in the README.

Main entry points: [`student_profile.php`](https://github.com/aathifpm/feedback_system/blob/main/student_profile.php) (Profiles and portfolios), [`survey_analytics.php`](https://github.com/aathifpm/feedback_system/blob/main/survey_analytics.php) (Survey analytics), [`generate_report.php`](https://github.com/aathifpm/feedback_system/blob/main/generate_report.php) (Report and data exports), [`student_login.php`](https://github.com/aathifpm/feedback_system/blob/main/student_login.php) (Student login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and Profiles"]
  node_student_login["Student login<br/>[student_login.php]"]
  node_faculty_login["Faculty login<br/>[faculty_login.php]"]
  node_hod_login["HOD login<br/>[hod_login.php]"]
  node_admin_login["Admin login<br/>[admin_login.php]"]
  node_profiles["Profiles and portfolios"]
end

subgraph group_feedback["Feedback and Surveys"]
  node_faculty_feedback["Faculty feedback<br/>[give_feedback.php]"]
  node_student_feedback["Student feedback"]
  node_exam_feedback["Exam feedback"]
  node_surveys["Alumni and exit surveys<br/>[alumni_survey.php]"]
  node_survey_submit["Submit alumni survey"]
end

subgraph group_operations["Academic Operations"]
  node_attendance["Attendance marking"]
  node_admin_ops["Academic administration"]
end

subgraph group_insights["Reports and Publishing"]
  node_analytics["Survey analytics"]
  node_feedback_reports["Feedback reports<br/>[reports.php]"]
  node_exports["Report and data exports"]
  node_blog["Institutional blog<br/>[index.php]"]
end

node_student(("Student"))
node_faculty(("Faculty"))
node_admin(("Administrator / HOD"))
node_database[("MySQL / MariaDB")]

node_student -->|"signs in"| node_student_login
node_faculty -->|"signs in"| node_faculty_login
node_admin -->|"signs in"| node_admin_login
node_admin -->|"signs in"| node_hod_login
node_student -->|"submits"| node_faculty_feedback
node_student -->|"submits"| node_student_feedback
node_student -->|"submits"| node_exam_feedback
node_student -->|"completes"| node_surveys
node_surveys -->|"submits"| node_survey_submit
node_student -->|"marks attendance"| node_attendance
node_student_login -->|"authenticates"| node_database
node_faculty_login -->|"authenticates"| node_database
node_hod_login -->|"authenticates"| node_database
node_admin_login -->|"authenticates"| node_database
node_profiles -->|"reads / writes"| node_database
node_faculty_feedback -->|"records responses"| node_database
node_student_feedback -->|"records responses"| node_database
node_exam_feedback -->|"records responses"| node_database
node_survey_submit -->|"records responses"| node_database
node_attendance -->|"records attendance"| node_database
node_admin -->|"manages"| node_admin_ops
node_admin_ops -->|"manages academic data"| node_database
node_faculty -->|"reviews"| node_analytics
node_admin -->|"reviews"| node_analytics
node_analytics -->|"reads responses"| node_database
node_admin -->|"reviews"| node_feedback_reports
node_feedback_reports -->|"reads feedback data"| node_database
node_faculty -->|"downloads"| node_exports
node_admin -->|"downloads"| node_exports
node_exports -->|"reads report data"| node_database
node_student -->|"updates"| node_profiles
node_faculty -->|"updates"| node_profiles

click node_student_login "https://github.com/aathifpm/feedback_system/blob/main/student_login.php"
click node_faculty_login "https://github.com/aathifpm/feedback_system/blob/main/faculty_login.php"
click node_hod_login "https://github.com/aathifpm/feedback_system/blob/main/hod_login.php"
click node_admin_login "https://github.com/aathifpm/feedback_system/blob/main/admin_login.php"
click node_profiles "https://github.com/aathifpm/feedback_system/blob/main/student_profile.php"
click node_faculty_feedback "https://github.com/aathifpm/feedback_system/blob/main/give_feedback.php"
click node_student_feedback "https://github.com/aathifpm/feedback_system/blob/main/give_student_feedback.php"
click node_exam_feedback "https://github.com/aathifpm/feedback_system/blob/main/give_exam_feedback.php"
click node_surveys "https://github.com/aathifpm/feedback_system/blob/main/alumni_survey.php"
click node_survey_submit "https://github.com/aathifpm/feedback_system/blob/main/submit_alumni_survey.php"
click node_attendance "https://github.com/aathifpm/feedback_system/blob/main/attendance_marking.php"
click node_admin_ops "https://github.com/aathifpm/feedback_system/tree/main/admin"
click node_analytics "https://github.com/aathifpm/feedback_system/blob/main/survey_analytics.php"
click node_feedback_reports "https://github.com/aathifpm/feedback_system/blob/main/admin/reports.php"
click node_exports "https://github.com/aathifpm/feedback_system/blob/main/generate_report.php"
click node_blog "https://github.com/aathifpm/feedback_system/blob/main/blog/index.php"

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_login,node_faculty_login,node_hod_login,node_admin_login,node_profiles toneBlue
class node_faculty_feedback,node_student_feedback,node_exam_feedback,node_surveys,node_survey_submit,node_database toneAmber
class node_attendance,node_admin_ops toneMint
class node_analytics,node_feedback_reports,node_exports,node_blog toneRose
class node_student,node_faculty,node_admin toneIndigo
```

## Components

### Access and Profiles

- [Student login](https://github.com/aathifpm/feedback_system/blob/main/student_login.php): `student_login.php`
- [Faculty login](https://github.com/aathifpm/feedback_system/blob/main/faculty_login.php): `faculty_login.php`
- [HOD login](https://github.com/aathifpm/feedback_system/blob/main/hod_login.php): `hod_login.php`
- [Admin login](https://github.com/aathifpm/feedback_system/blob/main/admin_login.php): `admin_login.php`
- [Profiles and portfolios](https://github.com/aathifpm/feedback_system/blob/main/student_profile.php): `student_profile.php`

### Feedback and Surveys

- [Faculty feedback](https://github.com/aathifpm/feedback_system/blob/main/give_feedback.php): `give_feedback.php`
- [Student feedback](https://github.com/aathifpm/feedback_system/blob/main/give_student_feedback.php): `give_student_feedback.php`
- [Exam feedback](https://github.com/aathifpm/feedback_system/blob/main/give_exam_feedback.php): `give_exam_feedback.php`
- [Alumni and exit surveys](https://github.com/aathifpm/feedback_system/blob/main/alumni_survey.php): `alumni_survey.php`
- [Submit alumni survey](https://github.com/aathifpm/feedback_system/blob/main/submit_alumni_survey.php): `submit_alumni_survey.php`

### Academic Operations

- [Attendance marking](https://github.com/aathifpm/feedback_system/blob/main/attendance_marking.php): `attendance_marking.php`
- [Academic administration](https://github.com/aathifpm/feedback_system/tree/main/admin): `admin`

### Reports and Publishing

- [Survey analytics](https://github.com/aathifpm/feedback_system/blob/main/survey_analytics.php): `survey_analytics.php`
- [Feedback reports](https://github.com/aathifpm/feedback_system/blob/main/admin/reports.php): `admin/reports.php`
- [Report and data exports](https://github.com/aathifpm/feedback_system/blob/main/generate_report.php): `generate_report.php`
- [Institutional blog](https://github.com/aathifpm/feedback_system/blob/main/blog/index.php): `blog/index.php`

### Other components

- **Student**
- **Faculty**
- **Administrator / HOD**
- **MySQL / MariaDB**

## Connections

- Student → Student login: signs in
- Faculty → Faculty login: signs in
- Administrator / HOD → Admin login: signs in
- Administrator / HOD → HOD login: signs in
- Student → Faculty feedback: submits
- Student → Student feedback: submits
- Student → Exam feedback: submits
- Student → Alumni and exit surveys: completes
- Alumni and exit surveys → Submit alumni survey: submits
- Student → Attendance marking: marks attendance
- Student login → MySQL / MariaDB: authenticates
- Faculty login → MySQL / MariaDB: authenticates
- HOD login → MySQL / MariaDB: authenticates
- Admin login → MySQL / MariaDB: authenticates
- Profiles and portfolios → MySQL / MariaDB: reads / writes
- Faculty feedback → MySQL / MariaDB: records responses
- Student feedback → MySQL / MariaDB: records responses
- Exam feedback → MySQL / MariaDB: records responses
- Submit alumni survey → MySQL / MariaDB: records responses
- Attendance marking → MySQL / MariaDB: records attendance
- Administrator / HOD → Academic administration: manages
- Academic administration → MySQL / MariaDB: manages academic data
- Faculty → Survey analytics: reviews
- Administrator / HOD → Survey analytics: reviews
- Survey analytics → MySQL / MariaDB: reads responses
- Administrator / HOD → Feedback reports: reviews
- Feedback reports → MySQL / MariaDB: reads feedback data
- Faculty → Report and data exports: downloads
- Administrator / HOD → Report and data exports: downloads
- Report and data exports → MySQL / MariaDB: reads report data
- Student → Profiles and portfolios: updates
- Faculty → Profiles and portfolios: updates
