How prachi-2609/employee-crud-springboot works
A small Spring Boot employee CRUD API: clients use the documented save, list, get-one, update, and delete endpoints to manage employee records in MySQL. The tree identifies controller, service, repository, and entity layers, but source excerpts were unavailable, so internal call wiring is not asserted. The README documents Hibernate creating the employee table when the application runs.
Main entry points: SampleApplication.java Spring Boot app · EmployeeController.java Employee endpoints
Components 8
API
- Employee endpoints
src/main/java/com/viraj/sample/controller/EmployeeController.java - Employee service
src/main/java/com/viraj/sample/service/EmployeeService.java - Service implementation
src/main/java/com/viraj/sample/service/EmployeeServiceImpl.java
Employee data
- Employee repository
src/main/java/com/viraj/sample/repository/EmployeeRepository.java - Employee entity
src/main/java/com/viraj/sample/entity/Employee.java - MySQL database
Runtime
- Spring Boot app
src/main/java/com/viraj/sample/SampleApplication.java
Other components
- API client
Connections 2
- API client → Employee endpoints: calls CRUD endpoints
- Spring Boot app → MySQL database: Hibernate creates table