HANDOVER (phase table, released 2026-11-30, next steps, demo scenarios, WhatsApp STOP rule, local PostgreSQL), ROADMAP phase 5/6, APP-1.0-PLAN status, the root README's folders, Events' handover / FEATURES / DEMO_DATA / README for STOP and the scenarios, Accounts' and @crosscode/demo's READMEs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
3.5 KiB
Markdown
63 lines
3.5 KiB
Markdown
# Cross Code platform
|
|
|
|
The monorepo for every Cross Code product except the Hub, and the formats they share. The plan for
|
|
every product is in [`docs/ROADMAP-v3.md`](./docs/ROADMAP-v3.md) (decided 2026-11-03); where things
|
|
stand is in [`docs/HANDOVER.md`](./docs/HANDOVER.md), and the latest release of everything in
|
|
[`docs/VERSIONS.md`](./docs/VERSIONS.md).
|
|
|
|
| Folder | What | Status |
|
|
|--------|------|--------|
|
|
| `apps/events` | Cross Events (moved in from `joshua/hope-events` in 2.2.0) | Released and in use |
|
|
| `apps/accounts` | Accounts: the per-church sign-in (OpenID Connect), the church profile | Released and in use |
|
|
| `apps/website` | Church Website | Released and in use (phase 5) |
|
|
| `apps/app` | Church App (PWA, House of Prayer) | Placeholder, being built (phase 6, [`docs/APP-1.0-PLAN.md`](./docs/APP-1.0-PLAN.md)) |
|
|
| `apps/agent` | The server agent: runs the Hub's signed jobs through the `crosscode` script | Released and in use |
|
|
| `packages/contracts` | `@crosscode/contracts`: the shared JSON formats (zod schemas, JSON Schema, TypeScript types, sample payloads) used by every product, including the Hub | Released and in use |
|
|
| `packages/auth-client` | `@crosscode/auth-client`: how a product signs in through Accounts | In use |
|
|
| `packages/seo` | `@crosscode/seo`: JSON-LD and meta for every public site | In use |
|
|
| `packages/ui` | `@crosscode/ui`: fonts, brand style, `ChurchFooter` | In use |
|
|
| `packages/demo` | `@crosscode/demo`: the demo scenarios' churches, people and logos | In use (Accounts, Events) |
|
|
| `scripts/` | The `crosscode` script: install, deploy, demo, env, export, uninstall on the servers | In use (`main` is the release) |
|
|
|
|
Cross Code Hub (`joshua/events-hub`) stays in its own repo and gets `@crosscode/contracts` as a
|
|
packed release committed there (decision 22).
|
|
|
|
## Docs
|
|
|
|
| File | What |
|
|
|------|------|
|
|
| [`docs/ROADMAP-v3.md`](./docs/ROADMAP-v3.md) | The plan: products, contracts, Accounts, sync, Hub, servers, build order, pricing, decisions |
|
|
| [`docs/HANDOVER.md`](./docs/HANDOVER.md) | Where each phase stands and what's next |
|
|
| [`docs/VERSIONS.md`](./docs/VERSIONS.md) | The latest release of everything, and what's deployed where |
|
|
| [`docs/hub-protocol.md`](./docs/hub-protocol.md) | Install ↔ Hub protocol, versions 1 and 2 (a copy lives in `events-hub`) |
|
|
| `docs/*-PLAN.md` | Each phase's plan and decisions (Events 2.2, 2.4, 3.0; Accounts 1.0; Agent 1.0; Website 1.0; App 1.0) |
|
|
| [`docs/ROLLOUT-1.0.md`](./docs/ROLLOUT-1.0.md) | The rollout checklist |
|
|
|
|
## Rules (ROADMAP-v3 §1)
|
|
|
|
1. No shared databases, ever. Products only talk over HTTPS using the contracts.
|
|
2. The Hub is never on the runtime path.
|
|
3. One maintained codebase per product. Nothing is built specially for one church.
|
|
4. The origin of a record owns it. Copies elsewhere are read-only and link back to the origin.
|
|
|
|
## Working on it
|
|
|
|
Node 20 or newer, npm workspaces.
|
|
|
|
```bash
|
|
npm install
|
|
npm run check # lint + typecheck + tests + build, for every workspace
|
|
npm run build # build every workspace
|
|
npm test # test every workspace
|
|
```
|
|
|
|
Work in a workspace with `npm run <script> -w packages/contracts`.
|
|
|
|
Stack (ROADMAP-v3 §8): TypeScript, zod, Jest, ESLint here; the apps add Next.js, Express,
|
|
Prisma, PostgreSQL and pg-boss, as in Cross Events. PM2 and nginx, no Docker.
|
|
|
|
## Releasing
|
|
|
|
Each package and app is versioned and tagged on its own, as `<name>@<version>` (e.g.
|
|
`contracts@1.0.0`). Branch → merge → tag → push, with a CHANGELOG entry. Run `npm run check` first.
|