Student Management System API
A high-throughput enterprise RESTful API designed to manage 200+ student records with strict integrity. Implements a disciplined 3-tier layered architecture (Controller → Service → Repository) with global exception handling and input validation.
@RestController
@RequestMapping("/api/v1/students")
public class StudentController {
@Autowired
private StudentService service;
@PostMapping
public ResponseEntity<Student>
create(@Valid @RequestBody DTO dto) {
return ResponseEntity
.status(HttpStatus.CREATED)
.body(service.register(dto));
}
}