MOHandClaude Sonnet 4.6 f490133345
CI / quality (push) Has been cancelled
Harden security, fix rate-limiting, and rename proxy
- Move admin login lockout from client cookie to AppConfig (DB), keyed
  by hashed client IP — clearing browser cookies no longer bypasses it
- Replace rate-limit $transaction (TOCTOU) with atomic SQL
  INSERT...ON CONFLICT...RETURNING; add stale-entry cleanup on each
  submission to prevent table bloat
- Add 5 s module-level cache for middleware runtime state fetch, reducing
  per-request DB roundtrips
- Rename middleware.ts → proxy.ts to resolve Next.js 16 deprecation
  warning; update test import accordingly
- Require ADMIN_PASSWORD, ADMIN_AUTH_SECRET, ADMIN_BASIC_AUTH_USER, and
  ADMIN_BASIC_AUTH_PASS in docker-compose.yml (:? syntax) — startup
  fails loudly instead of using placeholder defaults
- Add set -e and informative echo lines to Dockerfile CMD for clearer
  startup failure attribution
- Export requireAdminAuth() from lib/admin-auth for centralised use in
  admin pages
- Add CLAUDE.md with architecture notes and working rules

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 22:05:50 +01:00
2026-03-15 18:26:31 +01:00
2026-03-11 17:46:35 +01:00
2026-03-13 15:50:37 +01:00
2026-03-13 15:50:37 +01:00
2026-03-13 15:50:37 +01:00
2026-03-13 15:50:37 +01:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font/local to load local font assets from app/fonts without relying on external font providers.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Infrastructure Basics

  1. Copy environment variables:
cp .env.example .env
  1. Start containers:
make start
make port
  1. Initialize database:
make db-init
  1. Run quality checks:
npm run lint
npm run build
  1. Health check:
make health
S
Description
No description provided
Readme
2.1 MiB
Languages
TypeScript 94.4%
JavaScript 2.9%
CSS 2.1%
Makefile 0.4%
Dockerfile 0.1%