HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
🗺️
[팀17] 영업이익 17조 💰
/
🐣
백둥이
/
🏭
Architecture
🏭

Architecture

Multi-module

Common
  • 공통 util 및 Exception
  • Modules
    • Lombok
    • JUnit
  • 하위 모듈
    • Domain, External
Domain
  • Entity & Repository
  • Modules
    • H2
    • MySQL
    • JPA
  • 하위 모듈
    • API
External
  • AWS 및 인증 관련 라이브러리
  • Modules
    • jwt
  • 하위 모듈
    • API
API
  • Service & Controller
  • Module
    • Restdocs
  • gradle api vs. implementation
(Gradle dependency) api와 implementation 차이
build script의 dependencies 블록에 여러 가지 다양한 종속성 구성(api, implementation, compileOnly, runtimeOnly, annotationProcessor)을 사용하여 라이브러리 종속성을 선언할 수 있습니다. 다양한 종속성 구성 중 api와 implementation의 차이에 대해서 알아봅니다. Gradle document 에서는 api와 implementation에 대해서 다음과 같이 설명하고 있습니다. api The dependencies required to compile the production source of the project which are part of the API exposed by the project.
(Gradle dependency) api와 implementation 차이
https://jongmin92.github.io/2019/05/09/Gradle/gradle-api-vs-implementation/
(Gradle dependency) api와 implementation 차이

Exception 처리

Spring Guide - Exception 전략 - Yun Blog | 기술 블로그
스프링은 예외처리를 위해 다양하고 막강한 어노테이션을 제공하고 있습니다. 일관성 있는 코드 스타일을 유지하면서 Exception을 처리하는 방법에 대해서 소개하겠습니다. Error Response 객체는 항상 동일한 Error Response를 가져야 합니다. 그렇지 않으면 클라이언트에서 예외 처리를 항상 동일한 로직으로 처리하기 어렵습니다. Error Response 객체를 유연하게 처리하기 위해서 간혹 Map 형식으로 처리하는데 이는 좋지 않다고 생각합니다.
Spring Guide - Exception 전략 - Yun Blog | 기술 블로그
https://cheese10yun.github.io/spring-guide-exception/
Spring Guide - Exception 전략 - Yun Blog | 기술 블로그
🏭