[Improvement] Notification 도메인 구축 (WP-NOTI-01) #247

Closed
opened 2026-02-26 00:43:43 +00:00 by seonkyu.kim · 0 comments
Owner

개요

PRD FR-NOTI-001/002에 따라 Notification 도메인을 신규 구축합니다.
헤더 뱃지 unread count와 알림 목록 상태를 서버 기준으로 일치시킵니다.

작업 항목

  • Domain Layer: NotificationCategory enum, Notification entity, INotificationRepository
  • Infrastructure Layer: NotificationConfiguration, NotificationRepository, AppDbContext/DI 등록
  • Migration: AddNotificationTable 생성 및 적용
  • Application Layer: DTO 7개, INotificationService, NotificationService, DI 등록
  • API Layer: NotificationController (summary, list, read, read-all)
  • 빌드 검증

API 엔드포인트

Method Endpoint 설명
POST /v1/in/notification/summary 최근 N건 + unreadCount (헤더 뱃지)
POST /v1/in/notification/list 페이징 목록 + 필터 + unreadCount
POST /v1/in/notification/read 단건 읽음 (멱등)
POST /v1/in/notification/read-all 전체 읽음

관련 문서

  • PRD: domains/settings-notification-prd.md (FR-NOTI-001, FR-NOTI-002)
  • WP: WP-NOTI-01
## 개요 PRD FR-NOTI-001/002에 따라 Notification 도메인을 신규 구축합니다. 헤더 뱃지 unread count와 알림 목록 상태를 서버 기준으로 일치시킵니다. ## 작업 항목 - [x] Domain Layer: NotificationCategory enum, Notification entity, INotificationRepository - [x] Infrastructure Layer: NotificationConfiguration, NotificationRepository, AppDbContext/DI 등록 - [x] Migration: AddNotificationTable 생성 및 적용 - [x] Application Layer: DTO 7개, INotificationService, NotificationService, DI 등록 - [x] API Layer: NotificationController (summary, list, read, read-all) - [x] 빌드 검증 ## API 엔드포인트 | Method | Endpoint | 설명 | |--------|----------|------| | POST | `/v1/in/notification/summary` | 최근 N건 + unreadCount (헤더 뱃지) | | POST | `/v1/in/notification/list` | 페이징 목록 + 필터 + unreadCount | | POST | `/v1/in/notification/read` | 단건 읽음 (멱등) | | POST | `/v1/in/notification/read-all` | 전체 읽음 | ## 관련 문서 - PRD: `domains/settings-notification-prd.md` (FR-NOTI-001, FR-NOTI-002) - WP: WP-NOTI-01
seonkyu.kim added the
Priority
Medium
Status
In Progress
Type
Improvement
labels 2026-02-26 00:43:50 +00:00
seonkyu.kim self-assigned this 2026-02-26 00:43:52 +00:00
seonkyu.kim added this to the Phase 3: 운영 기능 milestone 2026-02-26 00:43:54 +00:00
seonkyu.kim added
Status
Done
and removed
Status
In Progress
labels 2026-02-26 00:51:17 +00:00
Sign in to join this conversation.
No description provided.