src/
└── main/
    ├── kotlin/
    │   └── com/
    │       └── example/
    │           └── projectname/
    │               ├── application/ 어플리케이션
    │               │   ├── service/ 유스케이스, 서비스 비즈니스 로직 구현체
    │               │   │   └── SomeService.kt
    │               │   └── port/ 
    │               │       ├── in/ 유스케이스, 서비스 비즈니스 로직 추상화 
    │               │       │   └── SomeUseCase.kt
		|								|				|   └── dto/
		|								|				|		   └── dto/ (request, response)
    │               │       └── out/ 외부 시스템, 인프라 계층 추상화
    │               │           └── SomeFeature.kt
    │               ├── domain/ 도메인 
    │               │   ├── model/ 
    │               │   │   └── SomeEntity.kt, SomeVo.kt
    │               │   ├── repository/ 레포 추상화
    │               │   │   └── SomeRepository.kt
    │               │   └── service/ 도메인 전용 서비스 구현체 
    │               │       └── SomeDomainService.kt
    │               ├── infrastructure/
    │               │   ├── configuration/
    │               │   │   └── SomeConfiguration.kt
    │               │   ├── repository/ 레포 구현체
    │               │   │   └── SomeJpaRepository.kt
    │               │   └── adapter/ 외부 인프라 통신 어댑터 (연결) 
    │               │       └── SomeRepositoryImpl.kt
    │               └── presentation/
    │                   ├── controller/
    │                   │   └── SomeController.kt
    │                   ├── dto/
    │                   │   ├── request/
    │                   │   │   └── SomeRequestDto.kt
    │                   │   └── response/
    │                   │       └── SomeResponseDto.kt
    │                   └── mapper/ 입력 및 반환 값 매핑
    │                       └── SomeMapper.kt
    └── resources/
        ├── application.yml
        └── static/

Description