# jayanththalla/school-crm architecture

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

- Interactive diagram: https://gitdiagram.com/jayanththalla/school-crm
- Repository: https://github.com/jayanththalla/school-crm

## Overview

This is a frontend school CRM for parents and students. The user journey begins at the welcome screen, proceeds through login or signup, and reaches a routed dashboard with links to academic and school-service views. Those views cover timetable, notifications, fees, attendance, diary, assignments, mock tests, exams and marks, and student profile. The sampled code shows OTP/Google login requests and assignment API calls, but no backend implementation; several other views use sample data. Links to unsampled backend behavior are therefore documented or marked unverified.

Main entry points: [`frontend/src/components/Dashboard.jsx`](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Dashboard.jsx) (Dashboard), [`frontend/src/App.jsx`](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/App.jsx) (App router), [`frontend/src/pages/Home.jsx`](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Home.jsx) (Welcome), [`frontend/src/pages/Login.jsx`](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Login.jsx) (Login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App and access"]
  node_welcome["Welcome<br/>[Home.jsx]"]
  node_login["Login<br/>[Login.jsx]"]
  node_signup["Signup<br/>[Signup.jsx]"]
  node_app["App router<br/>[App.jsx]"]
end

subgraph group_overview["Student overview"]
  node_header["Student header<br/>[Header.jsx]"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_profile["Student profile"]
  node_timetable["Timetable<br/>[Timetable.jsx]"]
  node_notifications["Notifications<br/>[Notifications.jsx]"]
end

subgraph group_learning["Learning and assessment"]
  node_diary["Class diary<br/>[ClassDiary.jsx]"]
  node_assignments["Assignments<br/>[Assignments.jsx]"]
  node_mocktests["Mock tests<br/>[MockTests.jsx]"]
  node_exams["Exams and marks<br/>[ExamsAndMarks.jsx]"]
end

subgraph group_services["School services"]
  node_attendance["Attendance<br/>[Attendance.jsx]"]
  node_fees["Fees<br/>[Fee.jsx]"]
end

node_family(("Parent or student"))
node_authapi{{"Authentication API"}}
node_schoolapi{{"School data API"}}

node_family -->|"opens"| node_welcome
node_welcome -->|"navigates"| node_app
node_app -->|"routes to"| node_welcome
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_signup
node_app -->|"routes to"| node_dashboard
node_app -->|"renders"| node_header
node_family -->|"submits credentials"| node_login
node_login -->|"requests verification"| node_authapi
node_signup -.->|"registration unimplemented"| node_authapi
node_dashboard -->|"links to"| node_profile
node_dashboard -->|"links to"| node_timetable
node_dashboard -->|"links to"| node_notifications
node_dashboard -->|"links to"| node_fees
node_dashboard -.->|"links to"| node_attendance
node_dashboard -->|"links to"| node_diary
node_dashboard -->|"links to"| node_assignments
node_dashboard -->|"links to"| node_exams
node_dashboard -.->|"links to"| node_mocktests
node_assignments -->|"fetches and uploads"| node_schoolapi
node_diary -.->|"loads entries"| node_schoolapi
node_attendance -.->|"loads records"| node_schoolapi
node_mocktests -.->|"loads tests and scores"| node_schoolapi

click node_welcome "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Home.jsx"
click node_login "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Login.jsx"
click node_signup "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Signup.jsx"
click node_app "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/App.jsx"
click node_header "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Header.jsx"
click node_dashboard "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Dashboard.jsx"
click node_profile "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ProfileDashboard.jsx"
click node_timetable "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Timetable.jsx"
click node_notifications "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Notifications.jsx"
click node_diary "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ClassDiary.jsx"
click node_assignments "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Assignments.jsx"
click node_mocktests "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/MockTests.jsx"
click node_exams "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ExamsAndMarks.jsx"
click node_attendance "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Attendance.jsx"
click node_fees "https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Fee.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_welcome,node_login,node_signup,node_app toneBlue
class node_header,node_dashboard,node_profile,node_timetable,node_notifications toneAmber
class node_diary,node_assignments,node_mocktests,node_exams,node_authapi,node_schoolapi toneMint
class node_attendance,node_fees toneRose
class node_family toneIndigo
```

## Components

### App and access

- [Welcome](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Home.jsx): `frontend/src/pages/Home.jsx`
- [Login](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Login.jsx): `frontend/src/pages/Login.jsx`
- [Signup](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/pages/Signup.jsx): `frontend/src/pages/Signup.jsx`
- [App router](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`

### Student overview

- [Student header](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Header.jsx): `frontend/src/components/Header.jsx`
- [Dashboard](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Dashboard.jsx): `frontend/src/components/Dashboard.jsx`
- [Student profile](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ProfileDashboard.jsx): `frontend/src/components/ProfileDashboard.jsx`
- [Timetable](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Timetable.jsx): `frontend/src/components/Timetable.jsx`
- [Notifications](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Notifications.jsx): `frontend/src/components/Notifications.jsx`

### Learning and assessment

- [Class diary](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ClassDiary.jsx): `frontend/src/components/ClassDiary.jsx`
- [Assignments](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Assignments.jsx): `frontend/src/components/Assignments.jsx`
- [Mock tests](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/MockTests.jsx): `frontend/src/components/MockTests.jsx`
- [Exams and marks](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/ExamsAndMarks.jsx): `frontend/src/components/ExamsAndMarks.jsx`

### School services

- [Attendance](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Attendance.jsx): `frontend/src/components/Attendance.jsx`
- [Fees](https://github.com/jayanththalla/school-crm/blob/main/frontend/src/components/Fee.jsx): `frontend/src/components/Fee.jsx`

### Other components

- **Parent or student**
- **Authentication API**
- **School data API**

## Connections

- Parent or student → Welcome: opens (evidence: `frontend/src/pages/Home.jsx`)
- Welcome → App router: navigates (evidence: `frontend/src/pages/Home.jsx`)
- App router → Welcome: routes to (evidence: `frontend/src/App.jsx`)
- App router → Login: routes to (evidence: `frontend/src/App.jsx`)
- App router → Signup: routes to (evidence: `frontend/src/App.jsx`)
- App router → Dashboard: routes to (evidence: `frontend/src/App.jsx`)
- App router → Student header: renders (evidence: `frontend/src/App.jsx`)
- Parent or student → Login: submits credentials (evidence: `frontend/src/pages/Login.jsx`)
- Login → Authentication API: requests verification (evidence: `frontend/src/pages/Login.jsx`)
- Signup → Authentication API: registration unimplemented
- Dashboard → Student profile: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Timetable: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Notifications: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Fees: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Attendance: links to (evidence: `README.md`)
- Dashboard → Class diary: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Assignments: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Exams and marks: links to (evidence: `frontend/src/components/Dashboard.jsx`)
- Dashboard → Mock tests: links to (evidence: `README.md`)
- Assignments → School data API: fetches and uploads (evidence: `frontend/src/components/Assignments.jsx`)
- Class diary → School data API: loads entries (evidence: `README.md`)
- Attendance → School data API: loads records (evidence: `README.md`)
- Mock tests → School data API: loads tests and scores (evidence: `README.md`)
