Skip to content

4주차 미션 [카카]#2

Open
KateteDeveloper wants to merge 5 commits intomainfrom
kaka/week4
Open

4주차 미션 [카카]#2
KateteDeveloper wants to merge 5 commits intomainfrom
kaka/week4

Conversation

@KateteDeveloper
Copy link
Copy Markdown
Collaborator

✅ 작업 내용

  • 도메인형 패키지 구조로 스프링 부트 프로젝트 초기 세팅
  • member / mission / review 도메인 패키지 구성
  • MySQL DB 연결 (로컬 환경변수로 관리)
  • Swagger 설정 추가
  • 불필요 파일 gitignore 적용 (.gradle, build, .idea)

📁 패키지 구조

  • domain/member
  • domain/mission
  • domain/review
  • global/config

Copy link
Copy Markdown
Collaborator

@ywkim1m ywkim1m left a comment

Choose a reason for hiding this comment

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

미션 하느라 고생하셨습니다!! 최고~!!

@ochyeon
Copy link
Copy Markdown
Collaborator

ochyeon commented Apr 8, 2026

수고하셨습니다!!

@yujining3827
Copy link
Copy Markdown
Collaborator

4주차도 수고하셨습니다 ~!!

Copy link
Copy Markdown
Member

@yangjiae12 yangjiae12 left a comment

Choose a reason for hiding this comment

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

미션은 잘 진행해주셨는데, 리드미에 작성되어 있는 것처럼 kaka 폴더 안에 프로젝트가 들어가도록 해주시고 main 브랜치에 있는 .github도 지우지 않으셔야 합니다!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

에러 코드와 성공 코드도 enum으로 만들어 주시면 됩니다!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

이넘으로 만들었습니다! 맞춰서 kaka 폴더 안에 프로젝트 들어가게 수정을 main 브랜치 깃허브로 받도록 수정했습니다~! 감사합니다:)

…rovided diffs:

```text
refactor: 모든 패키지 및 클래스를 kaka 하위 패키지로 이동
```

**Alternative (if you prefer English):**
```text
refactor: move all classes and directories under kaka sub-package
```

### Key Changes Summarized:
* Moved all existing domain and global files under `com.umc.umc10th` to the new `com.umc.umc10th.kaka` base package.
* Updated package declarations in all `.java` and `.kt` files to reflect the new `kaka` directory path.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

레포지토리는 interface로 만들어주세요!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

맞춰서 수정했습니다!!

**feat: 멤버 도메인 에러/성공 코드 추가 및 예외 처리 수정**

### Summary of Changes:
* **`MemberException.java`**: Refactored to accept a `MemberErrorCode` instead of a plain string message, and added a `@Getter` for the error code.
* **`MemberErrorCode.java`**: Added a new enum to standardize member-related error responses (e.g., `MEMBER_NOT_FOUND`, `MEMBER_ALREADY_EXISTS`) along with their corresponding HTTP statuses.
* **`MemberSuccessCode.java`**: Added a new enum to standardize member-related success responses (e.g., `MEMBER_FOUND`, `MEMBER_CREATED`) along with their corresponding HTTP statuses.
refactor: Repository 클래스들을 interface로 변경

**Details of the changes:**
* Changed `ReviewRepository`, `MemberRepository`, and `MissionRepository` from `class` to `interface` to properly set them up as Spring Data JPA repositories (or standard interfaces).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants