SpringBoot
![[docker]kotlin + SpringBoot를 Docker Hub에 올리기(feat.FCM)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FZ2Uj3%2FbtrO9P9XxPL%2FU4an5L3tLGoN5BHBOyxPhK%2Fimg.png)
[docker]kotlin + SpringBoot를 Docker Hub에 올리기(feat.FCM)
1. 스프링 부트 프로젝트 만들기 빌드 툴은 gradle이므로 build.gradle.kts에 spring-boot-starter-web 의존성을 추가하고 테스트할 수 있는 맵핑을 하나 만들어주면 됩니다. @RestController @RequiredArgsConstructor class NotificationController { @Autowired val firebaseService = FirebaseService() @Autowired val fCMService = FCMService() @Throws(IOException::class) @PostMapping("/sendNotification") fun sendNotification(@RequestBody requestDTO: RequestDTO)..