biggy 8681aa88af 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.
2025-05-23 23:54:46 +02:00

Budget Manager PWA

A Progressive Web App for managing personal finances with push notifications.

Features

  • Track expenses and income
  • Manage budget categories with custom colors
  • View financial reports and analytics
  • Receive push notifications for new transactions
  • Works offline with local data storage
  • Full PWA support for mobile installation

Setup Instructions

Backend

  1. Navigate to the backend directory:

    cd backend
    
  2. Install dependencies:

    bun install
    
  3. Generate VAPID keys for push notifications:

    cd scripts
    bun run generate-vapid-keys.js
    
  4. Copy the .env.example to .env and update with your VAPID keys:

    cp .env.example .env
    
  5. Start the backend server:

    bun start
    

Frontend

  1. Navigate to the frontend directory:

    cd frontend
    
  2. Install dependencies:

    bun install
    
  3. Start the development server:

    bun dev
    

Push Notifications

The app supports push notifications for the following events:

  • New transaction added
  • Budget threshold exceeded

To enable push notifications:

  1. Go to the Settings page
  2. Toggle "Push Notifications" to On
  3. Grant notification permissions when prompted
S
Description
Application for finance management *Uni project
Readme
3 MiB
Languages
JavaScript 52.8%
Vue 25.9%
TypeScript 12.3%
CSS 8.5%
Dockerfile 0.2%
Other 0.2%