Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

알림 시스템(SSE) #56

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

알림 시스템(SSE) #56

wants to merge 11 commits into from

Conversation

tndls2
Copy link
Member

@tndls2 tndls2 commented Dec 12, 2022

  • 유저의 숏폼에 새로운 댓글, 좋아요 / 새로운 팔로잉 알림 서비스
  • SSE 사용

@tndls2 tndls2 added enhancement New feature or request feature Emplement new feature labels Dec 12, 2022
@tndls2 tndls2 self-assigned this Dec 12, 2022
@tndls2
Copy link
Member Author

tndls2 commented Dec 12, 2022

일단 디렉토리 생성하고 서비스, 컨트롤러 작성 중입니다

@tndls2
Copy link
Member Author

tndls2 commented Dec 14, 2022

현재 sse 알림으로 data: {"notifies":[{"id":23,"type":"LIKE"}]} 형태로 출력되는 상태
좋아요 누른 user의 정보, form의 정보는 포함 안하는 상태임

@tndls2
Copy link
Member Author

tndls2 commented Dec 14, 2022

data: {"notifies":[{"id":1,"type":"LIKE","data":6}]} 형태로 알림 데이터 변경

분류 type data
좋아요 LIKE 좋아요 db에서 해당 id
댓글 COMMENT 댓글 db에서 해당 id
팔로우 FOLLOW 팔로우 db에서 해당 id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Emplement new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant