Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 2.35 KB

README.md

File metadata and controls

31 lines (21 loc) · 2.35 KB

Blogs App.

This simple Flutter App allows users to view and create blogs. This code base demonstrates using SOLID principles and their application with Clean Architecture. The app uses Bloc & Cubit for State Management, Get-it for Dependency Injection, Hive for Local Persistence and Supabase for serverless cloud functions.

LIBRARIES USED

  • Bloc & Cubit - For handling and manipulating state, it provides a seamless approach to state management.
  • Get-it - A powerful package for managing dependencies.
  • Hive - Local storage management.

Illustrations (Android & iOS)

Architecture

The application follows a Layered Clean Architecture with a simple Unidirectional Flow of Data. The code is categorized into 3 Logical Layers, Presentation, Domain and Data Laters. The Presentation Layer is responsible for handling the UI, this is where we have the Flutter Widgets and the Bloc State Holders The Domain Layer contains the Business Logic of the app, it contains Usecases and Repository interfaces. The Data Layer provides access to Remote data sources and Local storage. This is where the Repository implementations sit.

Screenshot 2024-07-14 at 23 27 07