larpaso-website/admin/package.json
Pascal Scholz 93178a24e3 Add login-protected admin editor for content and design
Adds a self-service editor at admin.larpaso.de so texts, images, links,
Impressum/Datenschutz, fonts, font sizes and colors can be changed without
a developer. All homepage/legal content moves into content/site.json and
a new content/theme.json drives every CSS color/font/size token; the
Astro pages read from these at build time.

The admin/ service (Node/Express) provides bcrypt+session login with
rate limiting, a schema-driven form UI (including a hex/RGB/alpha color
picker), image upload, and a publish action that runs the Astro build
and republishes into a volume shared with the nginx website container -
so edits go live without redeploying that container.

See DEPLOYMENT_ADMIN.md for the server-side setup steps.
2026-09-21 21:35:09 +02:00

17 lines
338 B
JSON

{
"name": "larpaso-admin",
"type": "commonjs",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "node server.js",
"hash-password": "node hash-password.js"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cookie": "^0.7.0",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"multer": "^2.0.1"
}
}