A1: foundation scaffold (Next.js 15, shadcn/Radix, Drizzle+Postgres, Vitest, Docker)

- Next.js 15 + TS strict + Tailwind 4 + ESLint 9
- shadcn/ui initialized (Radix, CSS variables); cn() util
- Drizzle + postgres driver + Zod; db client + schema placeholder (A2)
- Vitest with passing cn() test; GitHub Actions CI
- Portable container stack: multi-stage non-root Dockerfile, docker-compose (app + Postgres on host 5433)
- Verified: typecheck, lint, test (3), build, docker build, HTTP 200 on :3000
- Records the 5 pre-build decisions (email-only launch, SMS deferred)
This commit is contained in:
Tiel Coder
2026-11-17 18:09:24 +00:00
commit c595865496
39 changed files with 10908 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Database schema — Phase A2 populates the full data model here.
*
* Full spec: ARCHITECTURE.md §4 (users, roles, services, instances, slots,
* assignments, the skill taxonomy, notifications outbox, etc.).
*
* Conventions (from the spec):
* - `id` is a UUIDv7 text column
* - timestamps are `*_at` in UTC ISO-8601
* - dates are `*_date` in the church's local timezone
* - soft-delete only where noted; no hard deletes in the taxonomy graph
*/
// Placeholder: A2 replaces this object with the real tables.
export const schema = {};
export type Schema = typeof schema;