# gogan007/studentmanagement architecture

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

- Interactive diagram: https://gitdiagram.com/gogan007/studentmanagement
- Repository: https://github.com/gogan007/studentmanagement

## Overview

This Spring Boot application exposes student CRUD operations through REST endpoints. Requests enter StudentController, which delegates CRUD behavior to StudentService; the service uses StudentRepository for persistence of Student entities. Main starts the application. Database configuration details are not shown, so the graph does not identify a specific database or connect the repository to a named external store.

Main entry points: [`src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java`](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java) (Student CRUD service), [`src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java`](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java) (Student endpoints), [`src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java`](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java) (Student repository), [`src/main/java/in/strikes/crudSpringBootDemo/entity/Student.java`](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/entity/Student.java) (Student entity)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["REST API"]
  node_main["Application startup<br/>[Main.java]"]
  node_controller["Student endpoints"]
end

subgraph group_domain["Student Domain"]
  node_service["Student CRUD service"]
  node_student["Student entity<br/>[Student.java]"]
end

subgraph group_persistence["Persistence"]
  node_repository["Student repository"]
end

node_client(("API client"))

node_client -->|"sends CRUD requests"| node_controller
node_controller -->|"delegates CRUD"| node_service
node_service -->|"reads and writes"| node_repository
node_service -->|"updates fields"| node_student
node_repository -->|"persists entity"| node_student
node_main -.->|"starts app"| node_controller

click node_main "https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/Main.java"
click node_controller "https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java"
click node_service "https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java"
click node_student "https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/entity/Student.java"
click node_repository "https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java"

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_main,node_controller,node_client toneBlue
class node_service,node_student toneAmber
class node_repository toneMint
```

## Components

### REST API

- [Application startup](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/Main.java): `src/main/java/in/strikes/crudSpringBootDemo/Main.java`
- [Student endpoints](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java): `src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java`

### Student Domain

- [Student CRUD service](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java): `src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java`
- [Student entity](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/entity/Student.java): `src/main/java/in/strikes/crudSpringBootDemo/entity/Student.java`

### Persistence

- [Student repository](https://github.com/gogan007/studentmanagement/blob/main/src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java): `src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java`

### Other components

- **API client**

## Connections

- API client → Student endpoints: sends CRUD requests (evidence: `src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java`)
- Student endpoints → Student CRUD service: delegates CRUD (evidence: `src/main/java/in/strikes/crudSpringBootDemo/controller/StudentController.java`)
- Student CRUD service → Student repository: reads and writes (evidence: `src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java`)
- Student CRUD service → Student entity: updates fields (evidence: `src/main/java/in/strikes/crudSpringBootDemo/service/StudentService.java`)
- Student repository → Student entity: persists entity (evidence: `src/main/java/in/strikes/crudSpringBootDemo/repository/StudentRepository.java`)
- Application startup → Student endpoints: starts app
