Files
dealplustech-astro/package.json
Kunthawat 41bf954d80 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)
2026-04-01 15:09:16 +07:00

29 lines
674 B
JSON

{
"name": "dealplustech-astro",
"type": "module",
"version": "1.0.0",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"db:push": "astro db push",
"db:seed": "node db/seed.js"
},
"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"
}
}