Skip to content

[#9] feat: 알림 구독 설정 API - #17

Merged
Bumnote merged 1 commit into
devfrom
feat/notification
Jun 28, 2026
Merged

Bumnote merged 1 commit into
devfrom
feat/notification

Conversation

@Bumnote

@Bumnote Bumnote commented Jun 28, 2026

Copy link
Copy Markdown
Member

📄 작업 내용

  • 알림 설정 화면용 구독 설정(관심 유형/카테고리/출판사) API
    • GET /api/me/notification-subscription : 내 구독 설정 조회(미설정 시 빈 목록)
    • PUT /api/me/notification-subscription : 구독 설정 업서트(회원당 1건)
  • NotificationSubscription 엔티티(member_id 유니크), 다중 값은 JSON 문자열로 저장
  • 직렬화는 프로젝트 표준 ObjectMapper(tools.jackson, Jackson 3) 사용

✅ PR 유형

  • Feature

🧪 테스트 내용

  • 로컬 테스트 완료 (NotificationSubscriptionApiTest 6건 통과, JSON round-trip·격리·업서트 검증)
  • API 테스트 완료

🙋🏻 참고 사항

  • 알림함(NotificationsPage)은 구독 설정 + 캠페인 목록으로 프런트에서 파생되므로 별도 백엔드가 필요 없습니다.
  • 테스트/리뷰는 서브에이전트 세션 한도로 직접 작성·검증했습니다.

🔗 관련 이슈

resolved: #9

알림 설정 화면이 사용할 구독 설정(관심 유형/카테고리/출판사) 저장·조회 API를 추가한다.
알림함(NotificationsPage)은 구독 설정과 캠페인 목록으로 프런트에서 파생하므로 별도 백엔드가 필요 없다.

- GET /api/me/notification-subscription : 내 구독 설정 조회(미설정 시 빈 목록)
- PUT /api/me/notification-subscription : 구독 설정 업서트(회원당 1건)
- NotificationSubscription 엔티티(회원당 1건, member_id 유니크)에 다중 값을 JSON 문자열로 저장
- 직렬화는 프로젝트 표준 ObjectMapper(tools.jackson, Jackson 3) 사용

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test Results

23 tests  +6   23 ✅ +6   11s ⏱️ +2s
 5 suites +1    0 💤 ±0 
 5 files   +1    0 ❌ ±0 

Results for commit 3e1487e. ± Comparison against base commit 694ff35.

@Bumnote Bumnote self-assigned this Jun 28, 2026
@Bumnote
Bumnote requested a review from pug9483 June 28, 2026 05:45
@Bumnote
Bumnote merged commit 85a4d5c into dev Jun 28, 2026
2 checks passed
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.

[Feature] API 구현

1 participant