m
f11c411147
feat: add case + party CRUD with case events (Phase 1B)
...
- CaseService: list (paginated, filterable), get detail (with parties,
events, deadline count), create, update, soft-delete (archive)
- PartyService: list by case, create, update, delete
- Auto-create case_events on case creation, status change, party add,
and case archive
- Auth middleware now resolves tenant_id from user_tenants table
- All operations scoped to tenant_id from auth context
2026-03-25 13:26:50 +01:00
m
1fc0874893
feat: add database schema and backend foundation
...
Part 1 - Database (kanzlai schema in Supabase):
- Tenant-scoped tables: tenants, user_tenants, cases, parties,
deadlines, appointments, documents, case_events
- Global reference tables: proceeding_types, deadline_rules, holidays
- RLS policies on all tenant-scoped tables
- Seed: UPC proceeding types, 32 deadline rules (INF/CCR/REV/PI/APP),
ZPO civil rules (Berufung, Revision, Einspruch), 2026 holidays
Part 2 - Backend skeleton:
- config: env var loading (DATABASE_URL, SUPABASE_*, ANTHROPIC_API_KEY)
- db: sqlx connection pool with kanzlai search_path
- auth: JWT verification middleware adapted from youpc.org, context helpers
- models: Go structs for all tables with sqlx/json tags
- router: route registration with auth middleware, /health + placeholder API routes
- Updated main.go to wire everything together
2026-03-25 13:17:33 +01:00
m
e9bb6a7960
feat: scaffold monorepo with Go backend + Next.js 15 frontend
...
- Root monorepo: /backend (Go) + /frontend (Next.js 15)
- Go module: mgit.msbls.de/m/KanzlAI with minimal HTTP server
- Next.js 15: TypeScript strict, Tailwind CSS v4, App Router, Bun
- Root Makefile: dev, build, lint, test targets
- Root .gitignore covering Go, Node, IDE, OS files
- CLAUDE.md updated with project structure and tech stack
- .claude/CLAUDE.md with coding conventions (Go stdlib style, TS strict)
2026-03-24 18:32:50 +01:00