Skip to content

이벤트 알람 보내기 구현 #49

Description

@Limgayoung
  • firebase 앱 생성
  • 최초 1회 fcm 토큰 저장 API 생성
    • functions 만들기
    • functions 호출해서 firebase에 회원과 토큰 저장되는 것 확인
  • 회원 카드 갱신 시 firebase에 회원과 card 종류 저장
    • 개인/가족, 체크/신용, BC/non_BC, 카드사, 카드 이름 저장 필요
  • 매일 2시 정도에 스케쥴링으로 새롭게 들어온 카드 이벤트 감지, 있다면 fcm 알림 발송
    • 발송 시 title, content 형식을 정해서 발송할 것
    • 알림 발송 내역을 DB에 저장, 이때 이벤트 id를 저장해 알림 내역에서 이벤트로 바로 볼 수 있게 하기
    • 알림 발송 로직은 firebase의 function으로 작성
    • 읽음처리를 위해 isRead 필드가 필요
  • 시연을 위한 알림 발송 API 구현

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featThis issue or pull request already exists

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions