Skip to content

Flutter application that allows users to browse and read books for free.

Notifications You must be signed in to change notification settings

mohamedhany7420/Your-Book-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Your Book App

Your Book App is a Flutter application that allows users to browse and read books. The app is built using the Cubit pattern for state management, follows the MVVM (Model-View-ViewModel) architecture, and adheres to SOLID principles. The get_it package is used for dependency injection, and the dio package is used for API interaction.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Features

  • Browse books
  • View book details
  • Search for books
  • open free books as pdf
  • pinned section for programming books

Architecture

The app follows the MVVM architecture:

  • Model: Represents the data layer of the application. This includes data models and API services.
  • View: Represents the UI layer of the application. This includes Flutter widgets.
  • ViewModel: Acts as a bridge between the Model and View layers. It handles business logic and state management using Cubit.

Packages Used

  • flutter_bloc: For state management using Cubit.
  • get_it: For dependency injection and applying the singleton pattern.
  • dio: For making HTTP requests and interacting with APIs.
  • cupertino_icons: For iOS style icons.
  • cached_network_image: For efficient image loading and caching.
  • git: For version control.
  • go_router: For navigation and routing.
  • dartz: For functional programming utilities.
  • equatable: For simplifying equality comparisons.
  • url_launcher: For launching URLs.

SOLID Principles

The app adheres to the following SOLID principles:

  • Single Responsibility Principle: Each class has a single responsibility.
  • Open/Closed Principle: Classes are open for extension but closed for modification.

About

Flutter application that allows users to browse and read books for free.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors