Repository navigation
[Feat] FCM 기반 사용자 알림 기능 구현 - #37
Merged
Merged
Conversation
Closed
6 tasks done
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.
목적
알림 흐름
세부 설명
참가 승인 및 거절 알림은 사용자의 액션에 의해 발생하는 이벤트 기반 로직으로, 승인/거절 시점에 즉시 알림을 전송하도록 구현했습니다.
반면, 게임 시작 알림은 특정 시각 도래 여부를 서버가 판단해야 하므로 스케줄러 기반으로 처리했습니다.
GET /api/notifications로그인한 사용자의 알림을 최신순으로 조회합니다.
DELETE /api/notifications사용자의 모든 알림을 일괄 삭제합니다.
POST /api/members/fcm-token사용자의 FCM 토큰을 서버에 저장합니다.
로그인 이후 토큰 갱신 시 재저장 가능합니다.
DELETE /api/members/fcm-token로그아웃 시 사용자의 FCM 토큰을 삭제합니다.