How manikanta-achanta/springboot-30days works
This is a Spring Boot student-management API. Clients submit student requests to the REST controller, which maps and validates input, delegates CRUD and search operations to a service, and returns mapped responses. The service uses a JPA repository to access student records; the API also exposes name/age searches and pagination. The README is empty, so capabilities and relationships here are based on the sampled source and tree; database configuration and other controllers were not inspected.
Main entry points: StudentController2.java Student endpoints · StudentServiceImpl.java Student service · StudentRepository.java Student repository · GlobalExceptionHandler.java Error handling
Components 13
HTTP API
- Student endpoints
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/controller/StudentController2.java - Request DTO
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/dto/StudentRequestDTO.java - Response DTOs
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/dto/StudentResponseDTO.java - API response
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/dto/ApiResponse.java - Error handling
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/exception/GlobalExceptionHandler.java - Error response
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/dto/ErrorResponse.java
Student Domain
- Student mapper
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/mapper/StudentMapper.java - Service contract
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/service/StudentService.java - Student service
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/service/impl/StudentServiceImpl.java
Persistence
- Student entity
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/model/Student.java - Student repository
springboot-backend/src/main/java/com/manikanta/springboot_backend/basics/repository/StudentRepository.java - Relational database
Other components
- API client
Connections 13
- API client → Student endpoints: HTTP requests
- Student endpoints → Request DTO: binds input
- Student endpoints → Student mapper: maps students
- Student endpoints → Service contract: calls operations
- Student endpoints → API response: wraps results
- Student endpoints → Response DTOs: returns student DTOs
- Student service → Service contract: implements
- Student service → Student repository: queries and saves
- Student repository → Relational database: persists records
- Student repository → Student entity: loads entities
- Student service → Student entity: uses records
- Student service → Error handling: raises not found
- Error handling → Error response: builds errors