feat: 공유 기능 및 러브미션 구현 - #70
Merged
Merged
Conversation
- Share 도메인 모델 및 ShareRepository 생성
- ShareService 비즈니스 로직 구현
- POST /api/users/{userId}/share - 공유 URL 생성 API
- POST /api/share/{shareCode}/complete - 공유 완료 알림 API
- CreateShareUrlResponse, CompleteShareResponse DTO 추가
- SHARE_NOT_FOUND 에러 코드 추가
- LoveMission 엔티티 및 LoveMissionStatus 추가 - 공유 완료 시 러브미션 활성화 (14일간 매일 1개 미션) - 러브미션을 Mission 인스턴스화하여 기존 API로 완료 처리 가능 - MissionType.LOVE 타입 추가 - Home API에 loveMission 필드 추가 (missionId 포함) - 별도 러브미션 완료 API 제거, 기존 미션 API 사용 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR 빌드 성공
커밋: |
- LoveMission에서 dayNumber 제거, difficulty/cost 추가 - 활성화 시 14개 미션을 랜덤 셔플하여 사용자별 다른 순서 배정 - 템플릿의 난이도, 예상 절약금액을 Mission 인스턴스에 반영 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
주요 변경 사항
공유 기능
POST /api/users/{userId}/sharePOST /api/share/{shareCode}/complete러브미션 기능
PUT /api/users/{userId}/missions/{missionId})Home API 응답 변경
{ "loveMission": { "missionId": "507f1f77bcf86cd799439066", "dayNumber": 1, "title": "상대방에게 좋아하는 점 3가지 말하기", "finished": false, "remainingDays": 13 } }Test plan
🤖 Generated with Claude Code