# marco213728/school-managment-system architecture

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

- Interactive diagram: https://gitdiagram.com/marco213728/school-managment-system
- Repository: https://github.com/marco213728/school-managment-system

## Overview

Amauta is a school-management platform spanning academic operations, student support, institutional administration, and staff services. The principal workflow is a user entering through the application shell, navigating role-appropriate pages, and working with domain records that are persisted through Firebase. The graph includes major capabilities indicated by the repository tree and source index; where implementation excerpts were unavailable, it avoids asserting internal data flows. Some feature-to-page links are therefore not drawn.

Main entry points: [`components/layout/DashboardLayout.tsx`](https://github.com/marco213728/school-managment-system/blob/main/components/layout/DashboardLayout.tsx) (Dashboard layout), [`App.tsx`](https://github.com/marco213728/school-managment-system/blob/main/App.tsx) (App entry), [`pages/CurriculumRepositoryPage.tsx`](https://github.com/marco213728/school-managment-system/blob/main/pages/CurriculumRepositoryPage.tsx) (Curriculum repository), [`lib/firebase.ts`](https://github.com/marco213728/school-managment-system/blob/main/lib/firebase.ts) (Firebase access)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_app["App entry<br/>[App.tsx]"]
  node_dashboard["Dashboard layout"]
  node_login["Login<br/>[LoginPage.tsx]"]
end

subgraph group_academic["Academic operations"]
  node_activities["Activities<br/>[ActivitiesPage.tsx]"]
  node_attendance["Attendance<br/>[AttendancePage.tsx]"]
  node_curriculum["Curriculum planning"]
  node_curriculum_repo["Curriculum repository"]
  node_assessment["Assessment generator"]
  node_curriculum_import["Curriculum import"]
  node_rubric_generator["Rubric generator"]
  node_schedule["Schedule view<br/>[ScheduleView.tsx]"]
end

subgraph group_support["Student support"]
  node_dece["Student support<br/>[DecePage.tsx]"]
  node_health["Health services<br/>[HealthPage.tsx]"]
  node_inspection["Inspection<br/>[InspectionPage.tsx]"]
  node_student_profile["Student profile"]
end

subgraph group_institution["Institution administration"]
  node_management["School management<br/>[ManagePage.tsx]"]
  node_vicerrectorado["Academic leadership"]
  node_junta["Course meetings<br/>[JuntaManager.tsx]"]
  node_reports["Reports<br/>[ReportsPage.tsx]"]
end

subgraph group_foundation["Shared foundation"]
  node_user_context["User context<br/>[UserContext.ts]"]
  node_firebase["Firebase access<br/>[firebase.ts]"]
end

node_user(("School user"))
node_firestore[("Firestore")]

node_user -->|"opens"| node_app
node_app -->|"routes to"| node_login
node_app -->|"renders"| node_dashboard
node_app -->|"persists records"| node_firebase
node_dashboard -->|"routes to"| node_activities
node_dashboard -->|"routes to"| node_attendance
node_dashboard -->|"routes to"| node_curriculum_repo
node_dashboard -->|"routes to"| node_management
node_dashboard -->|"routes to"| node_reports
node_dashboard -->|"routes to"| node_dece
node_dashboard -->|"routes to"| node_health
node_dashboard -->|"routes to"| node_inspection
node_dashboard -->|"routes to"| node_vicerrectorado
node_curriculum_repo -->|"opens import"| node_curriculum_import
node_curriculum_repo -->|"saves criteria"| node_firebase
node_vicerrectorado -.->|"includes"| node_junta
node_firebase -->|"reads and writes"| node_firestore

click node_app "https://github.com/marco213728/school-managment-system/blob/main/App.tsx"
click node_dashboard "https://github.com/marco213728/school-managment-system/blob/main/components/layout/DashboardLayout.tsx"
click node_login "https://github.com/marco213728/school-managment-system/blob/main/pages/LoginPage.tsx"
click node_activities "https://github.com/marco213728/school-managment-system/blob/main/pages/ActivitiesPage.tsx"
click node_attendance "https://github.com/marco213728/school-managment-system/blob/main/pages/AttendancePage.tsx"
click node_curriculum "https://github.com/marco213728/school-managment-system/blob/main/pages/CurricularPlanningPage.tsx"
click node_curriculum_repo "https://github.com/marco213728/school-managment-system/blob/main/pages/CurriculumRepositoryPage.tsx"
click node_assessment "https://github.com/marco213728/school-managment-system/blob/main/components/repository/AssessmentGenerator.tsx"
click node_curriculum_import "https://github.com/marco213728/school-managment-system/blob/main/components/repository/CurriculumImportModal.tsx"
click node_rubric_generator "https://github.com/marco213728/school-managment-system/blob/main/components/repository/RubricGeneratorAssistant.tsx"
click node_schedule "https://github.com/marco213728/school-managment-system/blob/main/components/schedule/ScheduleView.tsx"
click node_dece "https://github.com/marco213728/school-managment-system/blob/main/pages/DecePage.tsx"
click node_health "https://github.com/marco213728/school-managment-system/blob/main/pages/HealthPage.tsx"
click node_inspection "https://github.com/marco213728/school-managment-system/blob/main/pages/InspectionPage.tsx"
click node_student_profile "https://github.com/marco213728/school-managment-system/blob/main/components/student/StudentProfileCard.tsx"
click node_management "https://github.com/marco213728/school-managment-system/blob/main/pages/ManagePage.tsx"
click node_vicerrectorado "https://github.com/marco213728/school-managment-system/blob/main/pages/VicerrectoradoPage.tsx"
click node_junta "https://github.com/marco213728/school-managment-system/blob/main/components/vicerrectorado/JuntaManager.tsx"
click node_reports "https://github.com/marco213728/school-managment-system/blob/main/pages/ReportsPage.tsx"
click node_user_context "https://github.com/marco213728/school-managment-system/blob/main/contexts/UserContext.ts"
click node_firebase "https://github.com/marco213728/school-managment-system/blob/main/lib/firebase.ts"

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_dashboard,node_login,node_user toneBlue
class node_activities,node_attendance,node_curriculum,node_curriculum_repo,node_assessment,node_curriculum_import,node_rubric_generator,node_schedule,node_firestore toneAmber
class node_dece,node_health,node_inspection,node_student_profile toneMint
class node_management,node_vicerrectorado,node_junta,node_reports toneRose
class node_user_context,node_firebase toneIndigo
```

## Components

### Application shell

- [App entry](https://github.com/marco213728/school-managment-system/blob/main/App.tsx): `App.tsx`
- [Dashboard layout](https://github.com/marco213728/school-managment-system/blob/main/components/layout/DashboardLayout.tsx): `components/layout/DashboardLayout.tsx`
- [Login](https://github.com/marco213728/school-managment-system/blob/main/pages/LoginPage.tsx): `pages/LoginPage.tsx`

### Academic operations

- [Activities](https://github.com/marco213728/school-managment-system/blob/main/pages/ActivitiesPage.tsx): `pages/ActivitiesPage.tsx`
- [Attendance](https://github.com/marco213728/school-managment-system/blob/main/pages/AttendancePage.tsx): `pages/AttendancePage.tsx`
- [Curriculum planning](https://github.com/marco213728/school-managment-system/blob/main/pages/CurricularPlanningPage.tsx): `pages/CurricularPlanningPage.tsx`
- [Curriculum repository](https://github.com/marco213728/school-managment-system/blob/main/pages/CurriculumRepositoryPage.tsx): `pages/CurriculumRepositoryPage.tsx`
- [Assessment generator](https://github.com/marco213728/school-managment-system/blob/main/components/repository/AssessmentGenerator.tsx): `components/repository/AssessmentGenerator.tsx`
- [Curriculum import](https://github.com/marco213728/school-managment-system/blob/main/components/repository/CurriculumImportModal.tsx): `components/repository/CurriculumImportModal.tsx`
- [Rubric generator](https://github.com/marco213728/school-managment-system/blob/main/components/repository/RubricGeneratorAssistant.tsx): `components/repository/RubricGeneratorAssistant.tsx`
- [Schedule view](https://github.com/marco213728/school-managment-system/blob/main/components/schedule/ScheduleView.tsx): `components/schedule/ScheduleView.tsx`

### Student support

- [Student support](https://github.com/marco213728/school-managment-system/blob/main/pages/DecePage.tsx): `pages/DecePage.tsx`
- [Health services](https://github.com/marco213728/school-managment-system/blob/main/pages/HealthPage.tsx): `pages/HealthPage.tsx`
- [Inspection](https://github.com/marco213728/school-managment-system/blob/main/pages/InspectionPage.tsx): `pages/InspectionPage.tsx`
- [Student profile](https://github.com/marco213728/school-managment-system/blob/main/components/student/StudentProfileCard.tsx): `components/student/StudentProfileCard.tsx`

### Institution administration

- [School management](https://github.com/marco213728/school-managment-system/blob/main/pages/ManagePage.tsx): `pages/ManagePage.tsx`
- [Academic leadership](https://github.com/marco213728/school-managment-system/blob/main/pages/VicerrectoradoPage.tsx): `pages/VicerrectoradoPage.tsx`
- [Course meetings](https://github.com/marco213728/school-managment-system/blob/main/components/vicerrectorado/JuntaManager.tsx): `components/vicerrectorado/JuntaManager.tsx`
- [Reports](https://github.com/marco213728/school-managment-system/blob/main/pages/ReportsPage.tsx): `pages/ReportsPage.tsx`

### Shared foundation

- [User context](https://github.com/marco213728/school-managment-system/blob/main/contexts/UserContext.ts): `contexts/UserContext.ts`
- [Firebase access](https://github.com/marco213728/school-managment-system/blob/main/lib/firebase.ts): `lib/firebase.ts`

### Other components

- **School user**
- **Firestore**

## Connections

- School user → App entry: opens
- App entry → Login: routes to (evidence: `App.tsx`)
- App entry → Dashboard layout: renders (evidence: `App.tsx`)
- App entry → Firebase access: persists records (evidence: `App.tsx`)
- Dashboard layout → Activities: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Attendance: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Curriculum repository: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → School management: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Reports: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Student support: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Health services: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Inspection: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Dashboard layout → Academic leadership: routes to (evidence: `components/layout/DashboardLayout.tsx`)
- Curriculum repository → Curriculum import: opens import (evidence: `pages/CurriculumRepositoryPage.tsx`)
- Curriculum repository → Firebase access: saves criteria (evidence: `pages/CurriculumRepositoryPage.tsx`)
- Academic leadership → Course meetings: includes
- Firebase access → Firestore: reads and writes (evidence: `lib/firebase.ts`)
