backend: add push token API and FCM delivery pipeline

This commit is contained in:
Codex
2026-03-09 23:12:19 +03:00
parent e82178fcc3
commit 74b086b9c8
11 changed files with 296 additions and 13 deletions

View File

@@ -39,6 +39,10 @@ class Settings(BaseSettings):
smtp_use_ssl: bool = False
smtp_timeout_seconds: float = 10.0
smtp_from_email: str = "no-reply@benyamessenger.local"
firebase_enabled: bool = False
firebase_credentials_path: str | None = None
firebase_credentials_json: str | None = None
firebase_webpush_link: str = "https://chat.daemonlord.ru/"
login_rate_limit_per_minute: int = 10
register_rate_limit_per_minute: int = 5