# krishna-medapati/fullstack_workbook architecture

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

- Interactive diagram: https://gitdiagram.com/krishna-medapati/fullstack_workbook
- Repository: https://github.com/krishna-medapati/fullstack_workbook

## Overview

This repository is a collection of full-stack skill experiments, not one integrated application. Its recurring user-to-result workflow is a browser or API client invoking a controller, which applies domain or authentication logic and reads or writes a repository or in-memory data. Separate experiments demonstrate student, course, product, and user management; JWT-backed employee access; and small React dashboards. The README gives no unified product specification, and browser-to-backend links are not shown in the inspected evidence, so those connections are omitted.

Main entry points: [`skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java`](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java) (Student API), [`exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java`](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java) (Student operations), [`skill-7-exp/src/main/java/com/klu/service/CourseManager.java`](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/service/CourseManager.java) (Course operations), [`skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java`](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java) (User operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_auth["Authentication"]
  node_authcontroller["Auth endpoints"]
  node_jwt["JWT utility<br/>[JwtUtil.java]"]
  node_userdetails["User lookup"]
  node_userrepo15[("Account repository")]
  node_user15["Account model<br/>[User.java]"]
  node_admin["Admin endpoints"]
  node_employee["Employee endpoints"]
end

subgraph group_records["Record APIs"]
  node_studentapi16["Student API"]
  node_studentservice16["Student operations"]
  node_studentrepo16[("Student repository")]
  node_student16["Student model<br/>[Student.java]"]
  node_courseapi["Course API"]
  node_coursemanager["Course operations<br/>[CourseManager.java]"]
  node_courserepo[("Course repository")]
  node_course["Course model<br/>[Course.java]"]
  node_productapi["Product queries"]
  node_productrepo[("Product repository")]
  node_product["Product model<br/>[Product.java]"]
  node_userapi13["User API"]
  node_userservice13["User operations<br/>[UserService.java]"]
  node_userrepo13[("User repository")]
  node_user13["User model<br/>[User.java]"]
  node_studentapi12["Student API"]
  node_studentservice12["Student service"]
  node_studentrepo12[("Student repository")]
  node_student12["Student model<br/>[Student.java]"]
  node_userapi14["User endpoints"]
end

subgraph group_web["React interfaces"]
  node_dashboard["Dashboard routes<br/>[App.js]"]
  node_fakeposts["Post list<br/>[FakePostList.jsx]"]
  node_dashboardcopy["Dashboard routes<br/>[App.js]"]
  node_fakepostscopy["Post list<br/>[FakePostList.jsx]"]
  node_studentui12["Student interface<br/>[AddStudent.js]"]
  node_studentlist12["Student list<br/>[StudentList.js]"]
end

subgraph group_basics["Standalone exercises"]
end

node_client(("API client"))

node_authcontroller -->|"issues tokens"| node_jwt
node_userdetails -->|"looks up user"| node_userrepo15
node_userrepo15 -->|"loads accounts"| node_user15
node_studentapi16 -->|"calls operations"| node_studentservice16
node_studentservice16 -->|"reads and writes"| node_studentrepo16
node_studentservice16 -->|"handles records"| node_student16
node_studentrepo16 -->|"persists"| node_student16
node_courseapi -->|"delegates"| node_coursemanager
node_coursemanager -->|"queries and saves"| node_courserepo
node_coursemanager -->|"handles records"| node_course
node_courserepo -->|"persists"| node_course
node_productapi -->|"runs queries"| node_productrepo
node_productapi -->|"returns products"| node_product
node_productrepo -->|"queries"| node_product
node_userapi13 -->|"calls operations"| node_userservice13
node_userservice13 -->|"reads and saves"| node_userrepo13
node_userservice13 -->|"handles records"| node_user13
node_userrepo13 -->|"persists"| node_user13
node_dashboard -->|"routes to"| node_fakeposts
node_dashboardcopy -->|"routes to"| node_fakepostscopy
node_studentapi12 -->|"delegates"| node_studentservice12
node_studentapi12 -->|"uses model"| node_student12
node_studentservice12 -->|"handles records"| node_student12
node_studentui12 -.->|"calls over HTTP"| node_studentapi12
node_studentlist12 -.->|"loads over HTTP"| node_studentapi12
node_userapi14 -.->|"serves requests"| node_client

click node_authcontroller "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/AuthController.java"
click node_jwt "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/security/JwtUtil.java"
click node_userdetails "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/security/CustomUserDetailsService.java"
click node_userrepo15 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/repository/UserRepository.java"
click node_user15 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/entity/User.java"
click node_admin "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/AdminController.java"
click node_employee "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/EmployeeController.java"
click node_studentapi16 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/controller/StudentController.java"
click node_studentservice16 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java"
click node_studentrepo16 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/repository/StudentRepository.java"
click node_student16 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/model/Student.java"
click node_courseapi "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/controller/CourseController.java"
click node_coursemanager "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/service/CourseManager.java"
click node_courserepo "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/repository/CourseRepository.java"
click node_course "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/entity/Course.java"
click node_productapi "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/controller/ProductController.java"
click node_productrepo "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/repository/ProductRepository.java"
click node_product "https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/entity/Product.java"
click node_userapi13 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/controller/UserController.java"
click node_userservice13 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java"
click node_userrepo13 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/repository/UserRepository.java"
click node_user13 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/model/User.java"
click node_dashboard "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/src/App.js"
click node_fakeposts "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/src/components/FakePostList.jsx"
click node_dashboardcopy "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/skillab11/src/App.js"
click node_fakepostscopy "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/skillab11/src/components/FakePostList.jsx"
click node_studentapi12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java"
click node_studentservice12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/service/StudentService.java"
click node_studentrepo12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/repository/StudentRepository.java"
click node_student12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/entity/Student.java"
click node_studentui12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/frontend/exp12/src/components/AddStudent.js"
click node_studentlist12 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/frontend/exp12/src/components/StudentList.js"
click node_userapi14 "https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab14/backend/src/main/java/com/klu/controller/UserController.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_authcontroller,node_jwt,node_userdetails,node_userrepo15,node_user15,node_admin,node_employee,node_client toneBlue
class node_studentapi16,node_studentservice16,node_studentrepo16,node_student16,node_courseapi,node_coursemanager,node_courserepo,node_course,node_productapi,node_productrepo,node_product,node_userapi13,node_userservice13,node_userrepo13,node_user13,node_studentapi12,node_studentservice12,node_studentrepo12,node_student12,node_userapi14 toneAmber
class node_dashboard,node_fakeposts,node_dashboardcopy,node_fakepostscopy,node_studentui12,node_studentlist12 toneMint
```

## Components

### Authentication

- [Auth endpoints](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/AuthController.java): `exp-15/src/main/java/com/klu/exp15/controller/AuthController.java`
- [JWT utility](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/security/JwtUtil.java): `exp-15/src/main/java/com/klu/exp15/security/JwtUtil.java`
- [User lookup](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/security/CustomUserDetailsService.java): `exp-15/src/main/java/com/klu/exp15/security/CustomUserDetailsService.java`
- [Account repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/repository/UserRepository.java): `exp-15/src/main/java/com/klu/exp15/repository/UserRepository.java`
- [Account model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/entity/User.java): `exp-15/src/main/java/com/klu/exp15/entity/User.java`
- [Admin endpoints](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/AdminController.java): `exp-15/src/main/java/com/klu/exp15/controller/AdminController.java`
- [Employee endpoints](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-15/src/main/java/com/klu/exp15/controller/EmployeeController.java): `exp-15/src/main/java/com/klu/exp15/controller/EmployeeController.java`

### Record APIs

- [Student API](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/controller/StudentController.java): `exp-16/src/main/java/com/fsad/skill16/backend/controller/StudentController.java`
- [Student operations](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java): `exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java`
- [Student repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/repository/StudentRepository.java): `exp-16/src/main/java/com/fsad/skill16/backend/repository/StudentRepository.java`
- [Student model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-16/src/main/java/com/fsad/skill16/backend/model/Student.java): `exp-16/src/main/java/com/fsad/skill16/backend/model/Student.java`
- [Course API](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/controller/CourseController.java): `skill-7-exp/src/main/java/com/klu/controller/CourseController.java`
- [Course operations](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/service/CourseManager.java): `skill-7-exp/src/main/java/com/klu/service/CourseManager.java`
- [Course repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/repository/CourseRepository.java): `skill-7-exp/src/main/java/com/klu/repository/CourseRepository.java`
- [Course model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill-7-exp/src/main/java/com/klu/entity/Course.java): `skill-7-exp/src/main/java/com/klu/entity/Course.java`
- [Product queries](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/controller/ProductController.java): `exp-8/src/main/java/com/klu/controller/ProductController.java`
- [Product repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/repository/ProductRepository.java): `exp-8/src/main/java/com/klu/repository/ProductRepository.java`
- [Product model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/exp-8/src/main/java/com/klu/entity/Product.java): `exp-8/src/main/java/com/klu/entity/Product.java`
- [User API](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/controller/UserController.java): `skill13-backend/src/main/java/com/fsad/skill13/backend/controller/UserController.java`
- [User operations](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java): `skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java`
- [User repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/repository/UserRepository.java): `skill13-backend/src/main/java/com/fsad/skill13/backend/repository/UserRepository.java`
- [User model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skill13-backend/src/main/java/com/fsad/skill13/backend/model/User.java): `skill13-backend/src/main/java/com/fsad/skill13/backend/model/User.java`
- [Student API](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java): `skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java`
- [Student service](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/service/StudentService.java): `skillab12/backend/exp12/src/main/java/com/klu/service/StudentService.java`
- [Student repository](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/repository/StudentRepository.java): `skillab12/backend/exp12/src/main/java/com/klu/repository/StudentRepository.java`
- [Student model](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/backend/exp12/src/main/java/com/klu/entity/Student.java): `skillab12/backend/exp12/src/main/java/com/klu/entity/Student.java`
- [User endpoints](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab14/backend/src/main/java/com/klu/controller/UserController.java): `skillab14/backend/src/main/java/com/klu/controller/UserController.java`

### React interfaces

- [Dashboard routes](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/src/App.js): `skillab11/src/App.js`
- [Post list](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/src/components/FakePostList.jsx): `skillab11/src/components/FakePostList.jsx`
- [Dashboard routes](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/skillab11/src/App.js): `skillab11/skillab11/src/App.js`
- [Post list](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab11/skillab11/src/components/FakePostList.jsx): `skillab11/skillab11/src/components/FakePostList.jsx`
- [Student interface](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/frontend/exp12/src/components/AddStudent.js): `skillab12/frontend/exp12/src/components/AddStudent.js`
- [Student list](https://github.com/krishna-medapati/fullstack_workbook/blob/master/skillab12/frontend/exp12/src/components/StudentList.js): `skillab12/frontend/exp12/src/components/StudentList.js`

### Other components

- **API client**

## Connections

- Auth endpoints → JWT utility: issues tokens (evidence: `exp-15/src/main/java/com/klu/exp15/controller/AuthController.java`)
- User lookup → Account repository: looks up user (evidence: `exp-15/src/main/java/com/klu/exp15/security/CustomUserDetailsService.java`)
- Account repository → Account model: loads accounts (evidence: `exp-15/src/main/java/com/klu/exp15/repository/UserRepository.java`)
- Student API → Student operations: calls operations (evidence: `exp-16/src/main/java/com/fsad/skill16/backend/controller/StudentController.java`)
- Student operations → Student repository: reads and writes (evidence: `exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java`)
- Student operations → Student model: handles records (evidence: `exp-16/src/main/java/com/fsad/skill16/backend/service/StudentService.java`)
- Student repository → Student model: persists (evidence: `exp-16/src/main/java/com/fsad/skill16/backend/repository/StudentRepository.java`)
- Course API → Course operations: delegates (evidence: `skill-7-exp/src/main/java/com/klu/controller/CourseController.java`)
- Course operations → Course repository: queries and saves (evidence: `skill-7-exp/src/main/java/com/klu/service/CourseManager.java`)
- Course operations → Course model: handles records (evidence: `skill-7-exp/src/main/java/com/klu/service/CourseManager.java`)
- Course repository → Course model: persists (evidence: `skill-7-exp/src/main/java/com/klu/repository/CourseRepository.java`)
- Product queries → Product repository: runs queries (evidence: `exp-8/src/main/java/com/klu/controller/ProductController.java`)
- Product queries → Product model: returns products (evidence: `exp-8/src/main/java/com/klu/controller/ProductController.java`)
- Product repository → Product model: queries (evidence: `exp-8/src/main/java/com/klu/repository/ProductRepository.java`)
- User API → User operations: calls operations (evidence: `skill13-backend/src/main/java/com/fsad/skill13/backend/controller/UserController.java`)
- User operations → User repository: reads and saves (evidence: `skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java`)
- User operations → User model: handles records (evidence: `skill13-backend/src/main/java/com/fsad/skill13/backend/service/UserService.java`)
- User repository → User model: persists (evidence: `skill13-backend/src/main/java/com/fsad/skill13/backend/repository/UserRepository.java`)
- Dashboard routes → Post list: routes to (evidence: `skillab11/src/App.js`)
- Dashboard routes → Post list: routes to (evidence: `skillab11/skillab11/src/App.js`)
- Student API → Student service: delegates (evidence: `skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java`)
- Student API → Student model: uses model (evidence: `skillab12/backend/exp12/src/main/java/com/klu/controller/StudentController.java`)
- Student service → Student model: handles records (evidence: `skillab12/backend/exp12/src/main/java/com/klu/service/StudentService.java`)
- Student interface → Student API: calls over HTTP
- Student list → Student API: loads over HTTP
- User endpoints → API client: serves requests
