How jonsungwoo/springboot_crud_postgre_tutorial works
This is a beginner Spring Boot tutorial project for a student REST API. Its documented workflow is a client request handled by the student controller, which delegates student retrieval to the service and returns Student data. The README also describes the intended database-backed CRUD capability, represented here by the repository and database, but the available README excerpt ends before explaining their implementation. Source excerpts were not provided, so links for that database path are marked unverified rather than asserted as inspected calls.
Main entry points: StudentService.java Student service · StudentController.java Student controller · StudentRepository.java Student repository · Student.java Student entity
Components 7
REST API
- Spring application
src/main/java/com/example/demo/DemoApplication.java - Student controller
src/main/java/com/example/demo/student/StudentController.java
Student Domain
- Student service
src/main/java/com/example/demo/student/StudentService.java - Student entity
src/main/java/com/example/demo/student/Student.java
Persistence
- Student repository
src/main/java/com/example/demo/student/StudentRepository.java - Student database
Other components
- API client
Connections 5
- API client → Student controller: sends requests
README.md - Student controller → Student service: delegates retrieval
README.md - Student service → Student entity: returns students
README.md - Student service → Student repository: uses repository
- Student repository → Student database: accesses data