본문 바로가기

Multi-Module13

Spring Boot(Kotlin) — ep.12 Sharing the Complete Project 📚 Spring Boot (Kotlin) Initial Setup — Complete SeriesWhy Multi-Module Architecture? (Architecture Philosophy & Overall Structure)API Response Format DesignGlobal Exception Handling (GlobalExceptionHandler)Swagger (OpenAPI) ConfigurationSecurity (JWT) Core StructureJWT TokenProviderRedis ConfigurationValidation ConfigurationLogging + MDC(traceId) Configurationapplication.yml Profile Separation .. 2025. 11. 27.
Spring Boot(Kotlin) — 12편. 완성된 프로젝트 템플릿 공유 📚 Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(GlobalExceptionHandler)Swagger(OpenAPI) 설정Security(JWT) 기본 골격JWT TokenProviderRedis 설정Validation 설정Logging + MDC(traceId) 설정application.yml 프로필 분리 (local/dev/prod)멀티모듈 + JPA 기본 구조 정리 완성된 프로젝트 템플릿 Git 공유← 지금 글 이 글은 “Spring Boot(Kotlin) 기본 셋팅 — 12편 시리즈”의 마지막 글입니다.앞선 글들을 통해 멀티 모듈 구조 → API 설계 → 예외 처리 → .. 2025. 11. 27.
Spring Boot(Kotlin) — ep.11 Structuring JPA in a Spring Boot Multi-Module Architecture In this article, we will organize how JPA should be placed within a Spring Boot multi-module projectand summarize the key concepts you need to understand during the initial setup.Since the goal of this series is to build a “basic server setup template,”we will NOT dive deeply into JPA itself or include domain code inside the shared template project. Instead, we will explain why JPA is widely use.. 2025. 11. 27.
Spring Boot(Kotlin) 기본 셋팅 — 11편. 멀티모듈 + JPA 기본 구조 정리 이번 글에서는 Spring Boot 멀티 모듈 프로젝트에서 JPA를 어떤 구조로 배치해야 하는지와초기 셋팅에서 알아두면 좋은 핵심 개념을 정리합니다.특히 본 시리즈는 “기본 서버 셋팅 템플릿”을 만드는 목적이므로,JPA 자체를 깊게 파고들거나 공유하는 프로젝트 파일에 도메인 코드 작성은 다루지 않습니다. 대신, 왜 JPA가 실무에서 널리 사용되는지, 멀티 모듈 환경에서 Entity / Repository / Service / Controller가 어떻게 배치되는지,그리고 초기 셋팅에서 필요한 최소한의 구조만 깔끔하게 소개합니다. 📚 Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(G.. 2025. 11. 27.
Spring Boot(Kotlin) — 10편. application.yml 프로필 분리 (local/dev/prod) 이번 글에서는 Spring Boot 멀티 모듈 기반 프로젝트에서 프로필(Profile)을 활용해 환경별 설정(local/dev/prod)을 분리하는 방법을 정리합니다.프로필 분리는 실무 백엔드 프로젝트에서 거의 필수이며, 운영 환경과 개발 환경의 설정이 섞이지 않도록 하는 매우 중요한 개념입니다. 📌 Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(GlobalExceptionHandler)Swagger(OpenAPI) 설정Security(JWT) 기본 골격JWT TokenProviderRedis 설정Validation 설정Logging + MDC(traceId) 설정applicati.. 2025. 11. 27.
Spring Boot(Kotlin) — ep.9 Logging & MDC(traceId) Setup Guide This post explains how to systematically configure Logging in a Spring Boot multi-module project,and how to apply request-level tracing using MDC (Mapped Diagnostic Context).In real-world environments, it is extremely important to quickly identify “which request caused an error.”By automatically including values like traceId, eventId, clientIp, userId in every log entry, log analysis becomes dra.. 2025. 11. 27.