Implement full consent logging system with SQLite database
- Install better-sqlite3 and @astrojs/node adapter - Update consent API to use SQLite database - Add DELETE endpoint for consent logs - Update admin consent-logs page with full UI (stats, table, export, delete) - Add sessionId to consent tracking - Admin password: Coolm@n1234mo Note: Database stored at data/consent.db (gitignored)
This commit is contained in:
@@ -11,14 +11,17 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/db": "^0.20.1",
|
||||
"@astrojs/node": "^10.0.4",
|
||||
"@astrojs/sitemap": "^3.7.2",
|
||||
"@astrojs/tailwind": "^5.1.4",
|
||||
"astro": "^6.1.2",
|
||||
"astro-consent": "^1.0.0",
|
||||
"better-sqlite3": "^12.8.0",
|
||||
"drizzle-orm": "^0.38.2",
|
||||
"tailwindcss": "^3.4.17"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/node": "^22.10.2",
|
||||
"typescript": "^5.7.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user