How ankit5183/spring-boot-beginner-projects works
This repository contains three separate Spring Boot examples: a department–employee one-to-many mapping, a basic website, and a book-management application. The book app’s documented user journey covers registration and login, followed by book creation, listing, updating, and deletion; the README also identifies JWT-based security. The graph preserves the major capabilities and separates the examples. Source excerpts are available only for the mapping entities and a website script, so wiring between controllers, services, and repositories is omitted where it cannot be verified.
Main entry points: AuthController Auth Controller · Book_Controller Book Controller · Controller Website Controller · Register.html Registration Page
Components 25
Department Mapping
- Department Controller
Mapping/src/main/Java/Application/Controller - Department Repository
Mapping/src/main/Java/Application/Department Repository - Employee Repository
Mapping/src/main/Java/Application/Employee Repository - Department Entity
Mapping/src/main/Java/Application/Department.Java - Employee Entity
Mapping/src/main/Java/Application/Employee.Java
Basic Website
- Website Controller
Website/src/main/Java/Controller - Website Template
Website/src/main/Resources/Template/Frame HTML file - Website CSS
Website/src/main/Resources/static/CSS File - Panel Script
Website/src/main/Resources/static/Script.js
Book Management
- Registration Page
Book Management Application with Springboot /src/main/Resources/Static/Register.html - Login Page
Book Management Application with Springboot /src/main/Resources/Static/login.html - Book App Page
Book Management Application with Springboot /src/main/Resources/Static/index.html - Auth Controller
Book Management Application with Springboot /src/main/Java/User/AuthController - User Service
Book Management Application with Springboot /src/main/Java/User/user_service - Security Configuration
Book Management Application with Springboot /src/main/Java/User/security_configuration - Book Controller
Book Management Application with Springboot /src/main/Java/Book /Book_Controller - Book Entity
Book Management Application with Springboot /src/main/Java/Book /Book.entity - Book Repository
Book Management Application with Springboot /src/main/Java/Book /Book_Repository - User Entity
Book Management Application with Springboot /src/main/Java/User/user.entity - User Repository
Book Management Application with Springboot /src/main/Java/User/user_repository
Other components
- User
- Visitor
- Book App User
- Configured Database
- JWT Security
Connections 17
- User → Department Controller: uses mapping API
- Department Entity → Employee Entity: one-to-many relation
- Visitor → Website Controller: requests page
- Website Controller → Website Template: serves page
- Visitor → Registration Page: registers
- Visitor → Login Page: logs in
- Registration Page → Auth Controller: registers
- Login Page → Auth Controller: authenticates
- Auth Controller → User Service: handles account
- Book App User → Book App Page: manages books
- Book App Page → Book Controller: CRUD requests
- Book Controller → Book Entity: manages records
- Book Controller → Book Repository: book persistence
- Auth Controller → JWT Security: JWT authentication
- Security Configuration → JWT Security: secures requests
- Book Repository → Configured Database: persists books
- User Repository → Configured Database: persists users