feat: add QR code generator and Nostr event handling

- Added the `simplesoftwareio/simple-qrcode` package to the project
- Created a new JavaScript file `nostrZap.js` to handle Nostr events
- Added the `nostrZap` function to the Alpine.js data property in `app.js`
- Updated the `services.php` configuration file to include the `nostr` environment variable
- Created a new database migration to add a `payment_event` field to the `einundzwanzig_plebs` table
- Made adjustments in the `Election:year.blade.php` view file to handle potential null values
- Updated `composer.lock` and `package.json` with the new dependencies
This commit is contained in:
fsociety
2024-09-30 14:46:30 +02:00
parent ee86f2ec37
commit e0a34d9376
19 changed files with 599 additions and 35 deletions

View File

@@ -15,9 +15,11 @@
"flatpickr": "^4.6.13",
"laravel-echo": "^1.16.1",
"laravel-vite-plugin": "^1.0",
"nostr-tools": "^2.7.2",
"postcss": "^8.4.41",
"pusher-js": "^8.4.0-rc2",
"tailwindcss": "^3.4.10",
"vite": "^5.0"
"vite": "^5.0",
"webln": "^0.3.2"
}
}