app: the demo scenarios (APP-1.0-PLAN §12)

npm run demo loads Acacia Hill; --profile/--scenario any of the eight
demo churches, around @crosscode/demo's people (the same account ids
as Accounts), in the scenario's active-member band: a prayer wall with
three months of commitments and the scenario's gaps, a campaign,
testimonies, prayer requests, announcements, the church's own
devotionals or Cross Code's from the Hub, and events (Cross Events' or
the Website's through the feed when linked, else the App's own).

The devotionals' passages are copied word for word from the public-
domain KJV and BSB by scripts/demo-passages.ts (no Bible text written
by hand). The sender never sends anything to a demo person.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 15:43:48 +02:00
co-authored by Claude Opus 5.5
parent c7e446a239
commit acd3b259a1
11 changed files with 1213 additions and 3 deletions
+3 -1
View File
@@ -14,11 +14,13 @@
"postinstall": "prisma generate",
"prisma:generate": "prisma generate",
"prisma:deploy": "prisma migrate deploy && prisma generate",
"prisma:status": "prisma migrate status"
"prisma:status": "prisma migrate status",
"demo": "tsx scripts/demo.ts"
},
"dependencies": {
"@crosscode/auth-client": "*",
"@crosscode/contracts": "*",
"@crosscode/demo": "*",
"@prisma/adapter-pg": "^7.10.1",
"@prisma/client": "^7.10.1",
"cron-parser": "^5.10.2",