mirror of
https://github.com/Dasemu/si-no-o-indiferente.git
synced 2026-11-26 07:16:19 +00:00
Node/Express backend generates 5 lateral-thinking mystery stories a day via Gemini and serves the latest batch; React/Vite frontend (Capacitor-wrapped for Android) plays them pass-and-play style, falling back to a bundled set of 16 original stories when the backend has nothing new or is unreachable. Includes systemd/nginx deploy config for a Docker-less Debian LXC. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
31 lines
773 B
JSON
31 lines
773 B
JSON
{
|
|
"name": "historias-backend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "API que sirve el mazo diario de historias y genera 5 historias nuevas por dia con Gemini",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"generate": "tsx src/scripts/generateDaily.ts",
|
|
"generate:built": "node dist/scripts/generateDaily.js"
|
|
},
|
|
"dependencies": {
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.21.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^22.9.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|