Skip to content

jiso0jung/kotlin-practice

Repository files navigation

Kotlin + Spring Boot + JPA

Spring Boot + Kotlin + JPA 공식 가이드 내용 기반
따라하면서 실수했던 부분들 정리

사용 환경 및 Tool

  • Kotlin 1.6.21
  • jdk 17
  • Spring Boot 2.7.1
  • IntelliJ IDEA 2022.1 (Ultimate Edition)

설정

Amazon corretto 17

  • File | ProjectStructure 에서 SDK Edit
  • Amazon corretto 17 다운로드 후 설정 img_2.png

kapt

  • Preferences | Build, Execution, Deployment | Compiler | Annotation Processors 창 열기
  • enable annotation processing 체크img.png

detekt

  • Preferences | Plugins 에서 Detekt 설치img_1.png

Testcontainers

  • docker daemon 을 꼭 사전에 실행시켜야 한다. service docker start

도커

이미지 빌드

./gradlew jib

  • 명령어에서 태그를 지정하려면 -Djib.to.tags=xx 옵션 추가
  • 이미지 빌드 전 docker login 필수

컨테이너 실행

docker run -p 8080:8080 jisoojung/kotlin-practice

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published