Files
ifb-schulapp/package.json
T
Simon 7d464c21eb feat: Web Push notifications
- VAPID-based push via web-push package
- push_subscriptions table: endpoint + keys per user (upsert on conflict)
- GET /api/push/vapid-key — public key for subscribe flow
- POST/DELETE /api/push/subscribe — store/remove subscription
- POST /api/push/test — manual test notification
- Hourly scheduler: notifies users day before homework due + countdown expires
- SW: push event handler shows notification; notificationclick opens /app
- Settings: Push section with enable/disable/test buttons, auto-detects
  browser support and VAPID availability
2026-04-23 11:44:28 +02:00

39 lines
928 B
JSON

{
"name": "info1",
"version": "0.1.0",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"keywords": [
"dashboard",
"education",
"class",
"self-hosted",
"express",
"sqlite"
],
"author": "lulinretrograde",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/lulinretrograde/ifb-schulapp.git"
},
"description": "Self-hosted class dashboard: timetable, homework, grades, shared calendar, and class chat. Built on Node.js, Express, SQLite, vanilla JS.",
"dependencies": {
"bcryptjs": "^3.0.3",
"better-sqlite3": "^12.9.0",
"cookie-parser": "^1.4.7",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"express-rate-limit": "^8.3.2",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.3",
"multer": "^2.1.1",
"otplib": "^13.4.0",
"qrcode": "^1.5.4",
"resend": "^6.12.0",
"web-push": "^3.6.7"
}
}