Backend (Express + Prisma, ES modules, as Accounts): /api/health and /api/v1/site/status (Coming soon until the first publish), the content model and its first migration, and the confirmed section variants per template (WEBSITE-1.0-PLAN §3, decision 16) with the template switch rules, with tests. Frontend (Next.js 16): Coming soon page, admin placeholder, robots.txt. env.template.json, PM2 example, CHANGELOG and WHATS-NEW. Root workspaces and lint updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.3 KiB
Church Website
The church's public website and its admin (ROADMAP-v3 §6, phase 5; plan and decisions in
docs/WEBSITE-1.0-PLAN.md). Served at www.<church's address> (or
<church>.crosscode.co.za), with the admin at /admin, signed in through the church's Accounts.
The church picks one of four templates (Heritage, Bold, Community, Clean) and makes it its own with
section variants and style settings. Changes are drafts until an editor previews the whole site and
presses Publish; until the first publish visitors see Coming soon.
State: skeleton (2026-11-25). Not released; website@1.0.0 is tagged when the plan is built.
backend/: Express + Prisma (ES modules), as Accounts.npm run dev,npm test(Node's test runner through tsx),npm run build. The content model is inprisma/schema.prisma; the section variants per template (plan §3, decision 16) insrc/site/variants.ts.frontend/: Next.js 16. The public site (server-rendered from the latest published version) and the admin.
Local development: Postgres in backend/.env (DATABASE_URL, WEBSITE_URL=http://localhost:3300),
npx prisma migrate deploy, then npm run dev in both folders (the frontend runs on 3300 and sends
/api to the backend on 5300).