feat: implement pwa push notifications

This commit is contained in:
2026-01-13 09:03:46 +01:00
parent e7291951d8
commit 14430b275e
16 changed files with 547 additions and 50 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
# Database
DATABASE_URL="file:./dev.db"
# Web Push Notifications
# Generate these with: npx web-push generate-vapid-keys
NEXT_PUBLIC_VAPID_PUBLIC_KEY="<your_public_key>"
VAPID_PRIVATE_KEY="<your_private_key>"
VAPID_SUBJECT="mailto:admin@example.com"