- 레이어드 아키텍처를 학습하기 위함입니다.
- 최종적으로 레이어드 아키텍처 Template 을 만드는 것이 목표입니다.
- UI Layer는 Service Layer만 의존해야한다.
- Service Layer는 Repository Layer만 의존해야한다.
- 예외) Application Layer는 Infrastructure Layer에 의존할 수도 있다.
- Presentation Layer
- Controller
- Application Layer
- Service
- Domain
- Entity
- Domain
- Infrastructure Layer
- Repository
- JDK 21 설치
- Git pull
- 어플리케이션 실행
API 문서 : http://localhost:8080/swagger-ui/index.html
API 문서 다운로드 (yaml) : http://localhost:8080/api-docs.yaml
API 문서 다운로드 (json) : http://localhost:8080/api-docs
- LayeredArchitectureApplication 을 실행합니다.
- 위 Swagger 문서를 보고 API 를 호출 합니다.
- spring-boot-starter (latest)
- spring-boot-starter-web (latest)
- spring-boot-starter-data-jpa (latest)
- spring-boot-starter-test (latest)
- spring-boot-starter-validation (latest)
- springdoc-openapi-starter-webmvc-ui (2.6.0)
- lombok (latest)
- h2 (latest)
- junit-platform-launcher (latest)


