# vaibhavkadusal/timetable_fe architecture

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

- Interactive diagram: https://gitdiagram.com/vaibhavkadusal/timetable_fe
- Repository: https://github.com/vaibhavkadusal/timetable_fe

## Overview

AMSA Overseas is a React frontend for academic administration and timetable management. HOD-facing workflows configure academic structure and master data, generate and adjust timetables, and review reports or exchange backups and CSV data; separate public and faculty views expose schedules. TARA provides a conversational assistant and an administrative benchmark/feedback center. The app routes views through App, while feature components use a shared API client to reach an external backend. Relationships below follow shown imports, routing, or README claims; unsampled feature internals and backend behavior are not inferred.

Main entry points: [`src/App.jsx`](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/App.jsx) (Route & View Shell), [`src/services/api.js`](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/services/api.js) (API Client), [`src/components/StudentTimetablePublicView.jsx`](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/StudentTimetablePublicView.jsx) (Public Timetable), [`src/components/TeacherPortalView.jsx`](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TeacherPortalView.jsx) (Faculty Portal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application Shell"]
  node_app["Route &amp; View Shell<br/>[App.jsx]"]
  node_api["API Client<br/>[api.js]"]
end

subgraph group_admin["Academic Administration"]
  node_dashboard["Dashboard<br/>[DashboardView.jsx]"]
  node_academic["Academic Setup"]
  node_master["Master Data<br/>[MasterDataView.jsx]"]
  node_facultydata["Faculty Management<br/>[FacultyView.jsx]"]
  node_csv["CSV Data Hub<br/>[CsvDataHub.jsx]"]
  node_backup["Backup &amp; Restore"]
  node_audit["Audit Trail<br/>[AuditTrailView.jsx]"]
  node_research["Market Research"]
end

subgraph group_schedule["Timetable Operations"]
  node_generation["Timetable Generation"]
  node_adjustment["Manual Adjustment"]
  node_explorer["Timetable Explorer"]
  node_workload["Workload Reports"]
  node_roomreport["Room Utilization"]
  node_qr["QR Timetable Generator"]
end

subgraph group_access["Schedule Access"]
  node_public["Public Timetable"]
  node_teacher["Faculty Portal"]
end

subgraph group_tara["TARA Assistant"]
  node_tara_widget["TARA Chat Widget"]
  node_benchmark["TARA Benchmark Center"]
end

node_operator(("Administrator / HOD"))
node_faculty(("Faculty"))
node_student(("Student / Visitor"))
node_backend{{"Academic Backend API"}}

node_operator -->|"uses"| node_app
node_faculty -.->|"uses"| node_app
node_student -.->|"opens schedule"| node_app
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_academic
node_app -->|"routes to"| node_master
node_app -->|"routes to"| node_facultydata
node_app -->|"routes to"| node_csv
node_app -->|"routes to"| node_backup
node_app -->|"routes to"| node_audit
node_app -->|"routes to"| node_research
node_app -->|"routes to"| node_generation
node_app -->|"routes to"| node_adjustment
node_app -->|"routes to"| node_explorer
node_app -->|"routes to"| node_workload
node_app -->|"routes to"| node_roomreport
node_app -->|"routes to"| node_qr
node_app -->|"routes public paths"| node_public
node_app -.->|"routes to"| node_teacher
node_app -.->|"renders"| node_tara_widget
node_app -->|"routes to"| node_benchmark
node_dashboard -->|"requests stats"| node_api
node_academic -->|"requests data"| node_api
node_master -.->|"requests data"| node_api
node_facultydata -.->|"requests data"| node_api
node_csv -->|"imports / exports"| node_api
node_backup -.->|"backs up / restores"| node_api
node_audit -->|"requests records"| node_api
node_research -->|"requests research"| node_api
node_generation -.->|"requests timetable"| node_api
node_adjustment -->|"requests changes"| node_api
node_explorer -->|"requests slots"| node_api
node_workload -->|"requests report"| node_api
node_roomreport -->|"requests report"| node_api
node_public -.->|"requests schedule"| node_api
node_teacher -.->|"requests portal data"| node_api
node_tara_widget -.->|"sends feedback"| node_api
node_benchmark -.->|"loads metrics / feedback"| node_api
node_api -->|"HTTP requests"| node_backend
node_faculty -.->|"uses portal"| node_teacher
node_student -->|"views timetable"| node_public

click node_app "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/App.jsx"
click node_api "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/services/api.js"
click node_dashboard "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/DashboardView.jsx"
click node_academic "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/AcademicSetupView.jsx"
click node_master "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/MasterDataView.jsx"
click node_facultydata "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/FacultyView.jsx"
click node_csv "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/CsvDataHub.jsx"
click node_backup "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/BackupRestoreView.jsx"
click node_audit "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/AuditTrailView.jsx"
click node_research "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/MarketResearchView.jsx"
click node_generation "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TimetableGenerationStudio.jsx"
click node_adjustment "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/ManualAdjustmentStudio.jsx"
click node_explorer "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TimetableExplorerView.jsx"
click node_workload "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/WorkloadReportView.jsx"
click node_roomreport "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/RoomUtilizationReportView.jsx"
click node_qr "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/QrTimetableGeneratorView.jsx"
click node_public "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/StudentTimetablePublicView.jsx"
click node_teacher "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TeacherPortalView.jsx"
click node_tara_widget "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/OfflineChatbotWidget.jsx"
click node_benchmark "https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/ChatbotBenchmarkView.jsx"

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_app,node_api toneBlue
class node_dashboard,node_academic,node_master,node_facultydata,node_csv,node_backup,node_audit,node_research toneAmber
class node_generation,node_adjustment,node_explorer,node_workload,node_roomreport,node_qr,node_backend toneMint
class node_public,node_teacher toneRose
class node_tara_widget,node_benchmark,node_operator,node_faculty,node_student toneIndigo
```

## Components

### Application Shell

- [Route & View Shell](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/App.jsx): `src/App.jsx`
- [API Client](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/services/api.js): `src/services/api.js`

### Academic Administration

- [Dashboard](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/DashboardView.jsx): `src/components/DashboardView.jsx`
- [Academic Setup](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/AcademicSetupView.jsx): `src/components/AcademicSetupView.jsx`
- [Master Data](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/MasterDataView.jsx): `src/components/MasterDataView.jsx`
- [Faculty Management](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/FacultyView.jsx): `src/components/FacultyView.jsx`
- [CSV Data Hub](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/CsvDataHub.jsx): `src/components/CsvDataHub.jsx`
- [Backup & Restore](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/BackupRestoreView.jsx): `src/components/BackupRestoreView.jsx`
- [Audit Trail](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/AuditTrailView.jsx): `src/components/AuditTrailView.jsx`
- [Market Research](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/MarketResearchView.jsx): `src/components/MarketResearchView.jsx`

### Timetable Operations

- [Timetable Generation](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TimetableGenerationStudio.jsx): `src/components/TimetableGenerationStudio.jsx`
- [Manual Adjustment](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/ManualAdjustmentStudio.jsx): `src/components/ManualAdjustmentStudio.jsx`
- [Timetable Explorer](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TimetableExplorerView.jsx): `src/components/TimetableExplorerView.jsx`
- [Workload Reports](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/WorkloadReportView.jsx): `src/components/WorkloadReportView.jsx`
- [Room Utilization](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/RoomUtilizationReportView.jsx): `src/components/RoomUtilizationReportView.jsx`
- [QR Timetable Generator](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/QrTimetableGeneratorView.jsx): `src/components/QrTimetableGeneratorView.jsx`

### Schedule Access

- [Public Timetable](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/StudentTimetablePublicView.jsx): `src/components/StudentTimetablePublicView.jsx`
- [Faculty Portal](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/TeacherPortalView.jsx): `src/components/TeacherPortalView.jsx`

### TARA Assistant

- [TARA Chat Widget](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/OfflineChatbotWidget.jsx): `src/components/OfflineChatbotWidget.jsx`
- [TARA Benchmark Center](https://github.com/vaibhavkadusal/timetable_fe/blob/main/src/components/ChatbotBenchmarkView.jsx): `src/components/ChatbotBenchmarkView.jsx`

### Other components

- **Administrator / HOD**
- **Faculty**
- **Student / Visitor**
- **Academic Backend API**

## Connections

- Administrator / HOD → Route & View Shell: uses (evidence: `src/App.jsx`)
- Faculty → Route & View Shell: uses
- Student / Visitor → Route & View Shell: opens schedule
- Route & View Shell → Dashboard: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Academic Setup: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Master Data: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Faculty Management: routes to (evidence: `src/App.jsx`)
- Route & View Shell → CSV Data Hub: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Backup & Restore: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Audit Trail: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Market Research: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Timetable Generation: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Manual Adjustment: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Timetable Explorer: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Workload Reports: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Room Utilization: routes to (evidence: `src/App.jsx`)
- Route & View Shell → QR Timetable Generator: routes to (evidence: `src/App.jsx`)
- Route & View Shell → Public Timetable: routes public paths (evidence: `src/App.jsx`)
- Route & View Shell → Faculty Portal: routes to (evidence: `src/App.jsx`)
- Route & View Shell → TARA Chat Widget: renders (evidence: `src/App.jsx`)
- Route & View Shell → TARA Benchmark Center: routes to (evidence: `src/App.jsx`)
- Dashboard → API Client: requests stats (evidence: `src/components/DashboardView.jsx`)
- Academic Setup → API Client: requests data (evidence: `src/components/AcademicSetupView.jsx`)
- Master Data → API Client: requests data (evidence: `src/components/MasterDataView.jsx`)
- Faculty Management → API Client: requests data (evidence: `src/components/FacultyView.jsx`)
- CSV Data Hub → API Client: imports / exports (evidence: `src/components/CsvDataHub.jsx`)
- Backup & Restore → API Client: backs up / restores (evidence: `src/components/BackupRestoreView.jsx`)
- Audit Trail → API Client: requests records (evidence: `src/components/AuditTrailView.jsx`)
- Market Research → API Client: requests research (evidence: `src/components/MarketResearchView.jsx`)
- Timetable Generation → API Client: requests timetable (evidence: `src/components/TimetableGenerationStudio.jsx`)
- Manual Adjustment → API Client: requests changes (evidence: `src/components/ManualAdjustmentStudio.jsx`)
- Timetable Explorer → API Client: requests slots (evidence: `src/components/TimetableExplorerView.jsx`)
- Workload Reports → API Client: requests report (evidence: `src/components/WorkloadReportView.jsx`)
- Room Utilization → API Client: requests report (evidence: `src/components/RoomUtilizationReportView.jsx`)
- Public Timetable → API Client: requests schedule (evidence: `src/components/StudentTimetablePublicView.jsx`)
- Faculty Portal → API Client: requests portal data (evidence: `src/components/TeacherPortalView.jsx`)
- TARA Chat Widget → API Client: sends feedback (evidence: `src/components/OfflineChatbotWidget.jsx`)
- TARA Benchmark Center → API Client: loads metrics / feedback (evidence: `src/components/ChatbotBenchmarkView.jsx`)
- API Client → Academic Backend API: HTTP requests (evidence: `src/services/api.js`)
- Faculty → Faculty Portal: uses portal
- Student / Visitor → Public Timetable: views timetable
