# mdnazrulislambd/school_management_system architecture

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

- Interactive diagram: https://gitdiagram.com/mdnazrulislambd/school_management_system
- Repository: https://github.com/mdnazrulislambd/school_management_system

## Overview

This repository is a small ASP.NET Core MVC starter presenting basic school information, with placeholder login and registration pages. The main workflow is an HTTP request routed to a controller action, which returns a Razor view; the home action supplies a hard-coded SchoolInfo model. The README mentions student, teacher, and academic management, but the available implementation evidence does not show those capabilities or a database. The views and runtime wiring are represented, but their contents were not sampled.

Main entry points: [`School_Management_System/Controllers/HomeController.cs`](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/HomeController.cs) (Home actions), [`School_Management_System/Program.cs`](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Program.cs) (MVC routing), [`School_Management_System/Controllers/AccountController.cs`](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/AccountController.cs) (Account actions), [`School_Management_System/Models/ErrorViewModel.cs`](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Models/ErrorViewModel.cs) (Error model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web runtime"]
  node_aspnet["MVC routing<br/>[Program.cs]"]
  node_errors["Error model<br/>[ErrorViewModel.cs]"]
end

subgraph group_school["School display"]
  node_home["Home actions<br/>[HomeController.cs]"]
  node_schoolmodel["School details<br/>[SchoolInfo.cs]"]
  node_homeviews["Home views"]
  node_featureitem["Feature item<br/>[FeatureItem.cs]"]
end

subgraph group_account["Account pages"]
  node_accountctl["Account actions"]
  node_accountviews["Account views"]
end

node_visitor(("Visitor"))

node_visitor -->|"sends request"| node_aspnet
node_aspnet -->|"routes request"| node_home
node_home -->|"creates model"| node_schoolmodel
node_home -->|"returns view"| node_homeviews
node_home -->|"creates error model"| node_errors
node_aspnet -.->|"routes request"| node_accountctl
node_accountctl -->|"returns view"| node_accountviews

click node_aspnet "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Program.cs"
click node_home "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/HomeController.cs"
click node_schoolmodel "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/SchoolInfo.cs"
click node_homeviews "https://github.com/mdnazrulislambd/school_management_system/tree/main/School_Management_System/Views/Home"
click node_errors "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Models/ErrorViewModel.cs"
click node_accountctl "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/AccountController.cs"
click node_accountviews "https://github.com/mdnazrulislambd/school_management_system/tree/main/School_Management_System/Views/Account"
click node_featureitem "https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/FeatureItem.cs"

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_aspnet,node_errors toneBlue
class node_home,node_schoolmodel,node_homeviews,node_featureitem toneAmber
class node_accountctl,node_accountviews toneMint
class node_visitor toneIndigo
```

## Components

### Web runtime

- [MVC routing](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Program.cs): `School_Management_System/Program.cs`
- [Error model](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Models/ErrorViewModel.cs): `School_Management_System/Models/ErrorViewModel.cs`

### School display

- [Home actions](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/HomeController.cs): `School_Management_System/Controllers/HomeController.cs`
- [School details](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/SchoolInfo.cs): `School_Management_System/SchoolInfo.cs`
- [Home views](https://github.com/mdnazrulislambd/school_management_system/tree/main/School_Management_System/Views/Home): `School_Management_System/Views/Home`
- [Feature item](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/FeatureItem.cs): `School_Management_System/FeatureItem.cs`

### Account pages

- [Account actions](https://github.com/mdnazrulislambd/school_management_system/blob/main/School_Management_System/Controllers/AccountController.cs): `School_Management_System/Controllers/AccountController.cs`
- [Account views](https://github.com/mdnazrulislambd/school_management_system/tree/main/School_Management_System/Views/Account): `School_Management_System/Views/Account`

### Other components

- **Visitor**

## Connections

- Visitor → MVC routing: sends request (evidence: `School_Management_System/Program.cs`)
- MVC routing → Home actions: routes request (evidence: `School_Management_System/Program.cs`)
- Home actions → School details: creates model (evidence: `School_Management_System/Controllers/HomeController.cs`)
- Home actions → Home views: returns view (evidence: `School_Management_System/Controllers/HomeController.cs`)
- Home actions → Error model: creates error model (evidence: `School_Management_System/Controllers/HomeController.cs`)
- MVC routing → Account actions: routes request
- Account actions → Account views: returns view (evidence: `School_Management_System/Controllers/AccountController.cs`)
