random_user
Random User is a Flutter App designed to fetch random user data, explore user details, and search for a specific number of users. Whether it’s an iOS or Android device, this app is optimized to deliver a seamless experience. The app demonstrates how to implement Flutter Clean Architecture with Riverpod, local cache, and RESTful API integration.
Production level implementations
- CI/CD with GitHub Actions
- Unit Testing
Installation
- Clone the repo
git clone https://github.com/IsaiasCuvula/random_user
- And then you can use the normal build and run procedure
flutter pub get
flutter run
Technologies
- Flutter π¦
- Dart π»
- Sqflite for local cache π½
- http π
- Clean Architecture π¨
- GoRoute for Navigation πΊοΈ
- Riverpod for State Managment π
- Optimized for iOS and Android π±
Key Features:
π¨ Clean Architecture: Random User App follows a clean architecture pattern, ensuring separation of concerns and maintainability. The codebase is organized and modularized, promoting scalability and extensibility for future enhancements.
π HTTP Integration: Random User App integrates HTTP requests to fetch user data from external APIs. This enables real-time updates and guarantees the availability of the latest user profiles.
π½ Sqflite for Local Cache: Random User App utilizes Sqflite, a powerful and reliable local database solution. This allows caching and storage of user data, so there is always something to see even when the device is not connected to the internet.
πΊοΈ GoRoute for Navigation: With GoRoute navigation library, UserFetcher delivers a smooth and intuitive navigation experience. Seamlessly switch between screens, and explore user profiles.
π Riverpod for State Management: RandomUser utilizes Riverpod for state management solutions to ensure efficient state handling, enabling a responsive and interactive app experience.
π Fetch Random User: Get a Random user as soon you open the App.
π User Details Viewer: Gain in-depth insights into specific user profiles. View comprehensive details, including personal information, contact details, profile pictures, and more. You can make call or send email to the user, the app use default device app to make call or send email.
π Display list of Users: fetch custom random users, based on the specified quantity.