[Inflearn] Kotlin으로 개발하는 Spring Boot Web MVC 강의 내용에 따른 예제를 진행한다.
-
Spring Boot 2.7.2
-
JDK 8
-
Kotlin 1.6.21
-
Gradle 7.5
Kotlin을 이용해 Spring Boot로 간단한 API를 구현해본다.
-
GET, POST, PUT, DELETE mappings
-
Bean validations with
spring-boot-starter-validation
-
Custom LocalDateTime validation annotator for DTO
-
Global and class-level exception handler using
@RestControllerAdvice
with custom error response DTO -
Unit tests with MockMvc