AUTHENTICATION
Email login that just works
Email login is the foundation of most apps. ApparenceKit provides a production-ready login screen with email and password fields, form validation, error handling, secure token storage, and automatic session management. Choose your backend and the CLI configures everything.
Firebase Auth
Google-backed authentication with email verification and password reset
Supabase Auth
Open-source alternative with email, magic link, and OAuth support
REST API
Use your own backend with automatic token storage and refresh
Secure storage
Tokens in Keychain (iOS) and EncryptedSharedPreferences (Android)
CODE
Clean architecture, fully tested
The login module follows the three-layer architecture pattern with Riverpod state management. The authentication state is reactive — your entire app responds to login/logout events automatically. Includes unit tests for the login flow so you can refactor with confidence.
Riverpod state
Reactive auth state across the entire app
Unit tested
Login flow covered with tests
Form validation
Email format and password rules with real-time feedback
Error handling
Clear messages for wrong password, account not found, network errors