No description
Find a file
Zaldimmar b165e612c2 Harden sign-in: __Host- session cookie and a per-email login lock
- The session cookie is __Host-ngu_session when Secure (production),
  so a sibling subdomain can't set or overwrite it; plain ngu_session
  over local http. Every admin signs in again once after deploying.
- Five wrong passwords for one email lock that email for 15 minutes,
  from any address; a correct password clears it. On top of the
  per-IP limit.
- CLAUDE.md: noImplicitAny stays off on purpose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:11:57 -05:00
docs Harden sign-in: __Host- session cookie and a per-email login lock 2026-09-29 02:11:57 -05:00
server Harden sign-in: __Host- session cookie and a per-email login lock 2026-09-29 02:11:57 -05:00
src More audit cleanup: shared route cache helper, url columns, tab keys 2026-09-29 02:02:24 -05:00
.gitignore Harden security found in the audit 2026-09-28 21:56:49 -05:00
CLAUDE.md Harden sign-in: __Host- session cookie and a per-email login lock 2026-09-29 02:11:57 -05:00
index.html Add colour tokens, dark mode and drop gradients 2026-09-28 22:42:59 -05:00
package.json Call the descriptor sync once at boot, and rename the package 2026-09-26 18:26:12 -05:00
pnpm-lock.yaml Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
README.md Clean up code found in the audit 2026-09-28 22:02:03 -05:00
site.json Add the Privacy and Terms pages, data requests and click-to-load embeds 2026-09-28 22:34:46 -05:00
tsconfig.json Clean up code found in the audit 2026-09-28 22:02:03 -05:00
vite.config.ts Point the Vite dev proxy at the API's default port, 3001 2026-09-28 23:41:12 -05:00

NGU-Web

Website for NGU (Next Generation of Unity): a public site and a role-based admin panel.

  • Frontend: React, TypeScript, Tailwind, Vite (src/). pnpm dev, pnpm build.
  • API: Hono on Node 22.13+, SQLite (server/). DB_PATH=./dev.db pnpm dev.
  • Accounts are made with server/src/admin-cli.js.
  • Deployment and setup notes are in docs/; working notes for contributors are in CLAUDE.md.