Repository File
architecture.md
Repository architecture decisions and system design for scalable AI-assisted development.
Updated 2 days agov0.4.2
System Architecture
- Server-first architecture by default
- Feature-based folder structure
- Shared UI primitives in /components/ui
- Isolated business logic per feature
- Centralized validation layer
- Feature-based folder structure
- Shared UI primitives in /components/ui
- Isolated business logic per feature
- Centralized validation layer
Data Flow
- Server Components fetch data directly
- Client Components receive serialized props
- Server Actions handle mutations
- Validation happens in shared layer before processing
- Client Components receive serialized props
- Server Actions handle mutations
- Validation happens in shared layer before processing
Migration Constraints
- Dashboard migration in progress
- Old billing hooks still active
- Auth module refactor planned
- Old billing hooks still active
- Auth module refactor planned