This project is a Flutter-based mobile application designed for efficient product management. It leverages Google Firebase for robust authentication and cloud storage capabilities, ensuring a secure and scalable solution for managing product data. The application is built following the principles of Clean Architecture to promote a maintainable, and scalable codebase. For state management, it employs the BLoC (Business Logic Component) pattern, facilitating reactive and predictable state management throughout the app.
User Authentication: Securely register and authenticate users using Firebase Authentication. This ensures that only authorized users can access and manage product data.
Product Management: Users can add, view, and manage products. Product data includes details such as product name, measurement, and price.
Data Storage: Utilizing Firebase Firestore, the app offers data storage and retrieval, enabling a seamless experience for viewing and updating product information.
Clean Architecture: The app's architecture is designed around clean architecture principles, separating the presentation, business logic, and data layers. This separation enhances the maintainability and scalability of the application.
BLoC for State Management: The BLoC pattern manages the app's state, ensuring a clear separation between the app's user interface and business logic. This approach promotes a more predictable and manageable state management solution.
The project follows Clean Architecture principles, organized into three layers:
Presentation Layer: Contains UI components and screens, managing data display and user interactions. It also includes BLoC components for state management related to the UI.
Domain Layer: Manages data transactions, such as fetching data from Firebase Firestore and handling user authentication. It implements the repositories defined in the domain layer.
Data Layer: It contains local storage, and modal class files that interact with the data layer.
- firebase_auth: For handling user authentication.
- cloud_firestore: For storing and retrieving product data.
- flutter_bloc: For implementing the BLoC pattern for state management.
- qr_flutter: To generate QR codes for products.
- flutter_otp_text_field: For OTP textfields view.
- shared_preferences: Local storage.