feat: Implement push notifications in Budget Manager PWA

- Added functionality for subscribing to push notifications in Settings.vue.
- Integrated service worker registration and notification permission requests.
- Enhanced Vite configuration for PWA with manifest and caching strategies.
- Created a script for generating PDF reports.
- Added project report markdown file detailing the PWA implementation and features.
This commit is contained in:
2025-05-23 23:54:46 +02:00
parent 26e3b76b11
commit 8681aa88af
37 changed files with 7034 additions and 85 deletions
+7 -1
View File
@@ -3,6 +3,11 @@
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"start": "bun run index.ts",
"dev": "bun --watch run index.ts",
"generate-vapid": "bun run scripts/generate-vapid-keys.js"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/bun": "latest",
@@ -23,6 +28,7 @@
"koa-bodyparser": "^4.4.1",
"koa-jwt": "^4.0.4",
"koa-router": "^13.0.1",
"mongodb": "^6.16.0"
"mongodb": "^6.16.0",
"web-push": "^3.6.7"
}
}