Repository
mainincludes the C backend, Node server, frontend, tests, docs, and legal pages..envis not committed.npm run buildandnpm testpass.
Render Service
Service type is Web Service.
Build command is
npm run build.Start command is
npm start.Health check path is
/api/health.
Environment
NODE_ENV=production
HOST=0.0.0.0
PORT=10000
DATABASE_PATH=data/haunted-threads.db
MAX_CONCURRENT_SESSIONS=2
SESSION_TIMEOUT_MS=60000
AI_PROVIDER=template
Smoke Test
Homepage loads on the Render subdomain.
Guest mode can run a simulation.
Legal footer links load.
Mobile layout and light/dark mode work.
/api/healthreturnsstatus: ok.
Render Free Caveats
Cold starts are expected. SQLite files on Render Free are temporary, so saved run history and public share links are demo-only unless storage is upgraded.