- Add complete dark mode system with theme context and toggle - Implement dark mode toggle component in navigation menu - Add client-side routing with SSR-safe signal handling - Fix language selector styling for better dark mode compatibility - Add documentation system with mdBook integration - Improve navigation menu with proper external/internal link handling - Add comprehensive project documentation and configuration - Enhance theme system with localStorage persistence - Fix arena panic issues during server-side rendering - Add proper TypeScript configuration and build optimizations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
758 B
758 B
Why Database Abstraction is Better
Current Problems:
- Tight Coupling: Auth services are hardcoded to
PgPool - Limited Flexibility: Can't easily switch databases
- Maintenance Burden: Database-specific code scattered throughout
- Testing Complexity: Hard to test with different databases
- Vendor Lock-in: Forced to use PostgreSQL for auth features
Benefits of Database Abstraction:
- Loose Coupling: Services depend on traits, not concrete types
- Database Flexibility: Easy to switch between SQLite, PostgreSQL, MySQL, etc.
- Better Testing: Can use in-memory databases for tests
- Cleaner Code: Single interface for all database operations
- Future-proofing: Easy to add new database backends