# Changelog — Church Website ## [Unreleased] ### Added - The app's skeleton (WEBSITE-1.0-PLAN §1): an Express + Prisma backend with `/api/health` and `/api/v1/site/status` (Coming soon until the first publish), the content model and its first migration, the section variants per template (§3, decision 16) with the template switch rules, and a Next.js frontend with the Coming soon page, an admin placeholder and `robots.txt`. - **Signing in to the admin through the church's Accounts** (§10), as Cross Events 3.x: the Hub client (protocol v2, product `website`, registers from `HUB_LICENCE_KEY`, heartbeats with aggregate counts), links (`crosscode.link/1`; the Website connects itself to the church's Accounts once the Hub lists it), `/api/auth/signin`, `/callback`, `/me`, `/signout` (then Accounts' sign-out), back-channel logout and Accounts' calls (`user.updated`, `user.export`, `user.deleted`). The Website keeps its own session (`ccw_session`, only a hash stored) and its own roles; the **first Owner** is whoever signs in with the Hub's admin email (`HUB_ADMIN_EMAIL`, verified in Accounts) while the site has none. Owners and Admins sign in with a second step (`two_factor_required_for_admins`, on by default); asked of Accounts once, then explained. - The admin page signs people in and out; `/auth/problem` explains a refused sign-in. - **The church's export** (`scripts/export-church.ts`): `export.json` in `crosscode.church-export/1` with its `website` part, for `crosscode export` and uninstall. - **`crosscode`:** `scripts/products/website.sh` (the same hooks as Accounts, ports 5300 / 3300, uploads in the export), `crosscode add website` (needs the church's Accounts; served on `www.
`, or the Cross Code address itself), and the installer shared by Accounts and the Website (`install_app`).