Conversation
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.
🎯 Summary
🔴 AS-IS
🟢 TO-BE
/profile/notifications에서 개인 설정 관리💬 참고사항
기술 스택
notification_push_tokens,notification_preferences테이블환경 변수 추가 필요 (6개)
구현 파일
packages/web/src/app/api/notification-preferences/- 알림 설정 APIpackages/web/src/app/api/push/- 토큰 구독/해지 APIpackages/web/src/components/settings/push-notification-settings.tsx- 설정 UIpackages/web/src/hooks/use-push-notification.ts- 푸시 알림 훅packages/web/src/lib/push.ts- 서버사이드 전송 로직packages/web/src/lib/firebase/client.ts- FCM 클라이언트packages/web/src/lib/firebase/admin.ts- FCM Admin SDK (환경변수 분리)packages/shared/src/db/schema.ts- DB 스키마 추가주의사항
.gitignore로 보안 처리됨\\n을\n으로 자동 변환테스트 플랜
🤖 Generated with Claude Code