Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SETTING] 멀티모듈 프로젝트 세팅 - #2 #3

Merged
merged 3 commits into from
Jan 10, 2025
Merged

[SETTING] 멀티모듈 프로젝트 세팅 - #2 #3

merged 3 commits into from
Jan 10, 2025

Conversation

sjk4618
Copy link
Collaborator

@sjk4618 sjk4618 commented Jan 9, 2025

🔥Pull requests

⛳️ 작업한 브랜치

👷 작업한 내용

멀티모듈 프로젝트 세팅

첨부한 사진과 같이 모듈을 나누었습니다.
조언 및 피드백 부탁드립니다.

cakey-멀티모듈 구조

🚨 참고 사항

  • 스프링 gradle 빌드는 api 모듈에서 한꺼번에 하므로, api모듈 build.gradle에서만 bootjar를 true로 해주었습니다.
  • 그 외 모듈들에 현재는 Main 클래스가 있는데, 추후에 패키지 세팅 할 때 지울 예정입니다.

@sjk4618 sjk4618 requested a review from lreowy January 9, 2025 19:06
@sjk4618 sjk4618 self-assigned this Jan 9, 2025
Copy link
Member

@lreowy lreowy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

세팅하느라 고생많으셨습니다~! 근데 개인적으로 궁금한게 상위 서비스 레이어와 하위 서비스 레이어를 모듈에서 따로 분리하신 이유가 궁금해요 멀티 모듈을 잘 몰라서...ㅎㅁㅎ

@sjk4618
Copy link
Collaborator Author

sjk4618 commented Jan 10, 2025

세팅하느라 고생많으셨습니다~! 근데 개인적으로 궁금한게 상위 서비스 레이어와 하위 서비스 레이어를 모듈에서 따로 분리하신 이유가 궁금해요 멀티 모듈을 잘 몰라서...ㅎㅁㅎ

서비스 레이어를 상위, 하위로 나눈 것은 사실 멀티모듈과 큰 관계는 없습니다.
controller - service - repository 간의 의존관계를 나누고 책임 분리를 나누기 위해서입니다!

@sjk4618 sjk4618 merged commit bb645f3 into dev Jan 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Setting] 프로젝트 세팅
2 participants