Phase 1 scaffold: auth for all apps

- Backend: Fastify with two listeners (public + internal), routes, services, DB migration + seed
- client_app: Flutter with BLoC, all auth screens (welcome, display name, register, OTP, force-register)
- mitra_app: Flutter with BLoC, OTP-only login
- control_center: React + Vite, email/password login, mitra/user management, anonymity settings
- Docs: phase1 plan, API contract, client app mockup
- CLAUDE.md and shared memory for all subprojects

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 10:08:42 +08:00
commit a7a2a32d27
85 changed files with 3953 additions and 0 deletions

17
requirement/CLAUDE.md Normal file
View File

@@ -0,0 +1,17 @@
# Halo Bestie — Requirements
This folder contains requirement documents for all project phases.
> See root `CLAUDE.md` for full project context and architectural decisions.
## Purpose
- Document feature requirements per phase
- Define acceptance criteria
- Capture domain rules and business logic decisions
## Conventions
- Name documents clearly by phase and domain (e.g. `phase1-auth.md`, `phase1-payment.md`)
- Each document should reference which app(s) it affects: `client_app`, `mitra_app`, `control_center`, `backend`
- Real-time / chat features are planned for a future phase