A Flutter application demonstrating authentication, user management, and state persistence using the ReqRes API.
-
Authentication
- Login and registration with persistent state
- Secure storage for authentication tokens
- Automatic login on app restart
-
User Management
- View list of users with pagination
- Search and filter users by name or email
- Create new users
- Edit existing users
- Delete users with confirmation
-
UI/UX Enhancements
- Form validation
- Loading indicators
- Error handling with user-friendly messages
- Toast notifications for action feedback
- Responsive design
This app uses the ReqRes API (https://reqres.in/) for testing.
For testing purposes:
- Login: Use email:
eve.holt@reqres.inand password:cityslicka - Register: Use email:
eve.holt@reqres.inand password:pistol
Note: The API simulates responses but doesn't persist all changes.
- Clone the repository
- Run
flutter pub getto install dependencies - Run
flutter runto launch the app
- Flutter
- Provider for state management
- Flutter Secure Storage for persistence
- HTTP package for API requests