From 23b18c75bdb1b1c2273102f84670177c66eaac6b Mon Sep 17 00:00:00 2001 From: Tero Halla-aho Date: Wed, 4 Feb 2026 10:17:54 +0200 Subject: [PATCH] docs: expand Next.js App Router notes --- PROGRESS.md | 3 +++ docs/architecture.html | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/PROGRESS.md b/PROGRESS.md index 70404df..243417a 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -104,3 +104,6 @@ - Reconciled test DB migration history: aligned checksum for `20251212_agent_billing` and marked `20260310_site_settings` and `20260311_billing_preferences` as applied to stop Prisma errors and surface listings again. - Applied the same agent billing schema to staging/prod DB (`lomavuokraus`) and marked the migration as applied; Prisma status now clean there too. - Deploy script now runs a Prisma migration status preflight using DATABASE_URL from env or in-cluster secret and fails fast on drift before applying manifests. + +## 2026-02-04 — Documentation +- Expanded Logical Architecture doc with a Next.js App Router walkthrough: routing layout, server/client component split, data fetching patterns, mutations, auth middleware, and asset handling. diff --git a/docs/architecture.html b/docs/architecture.html index ac403f4..c01fe8e 100644 --- a/docs/architecture.html +++ b/docs/architecture.html @@ -92,6 +92,16 @@ flowchart LR
  • Mail: SMTP (smtp.lomavuokraus.fi CNAME to smtp.sohva.org) + DKIM signing for verification emails.
  • Auth: Email/password, verified+approved requirement, JWT session cookie (session_token), roles.
  • + +

    How the Next.js App Router is wired here

    +