This is an application to give you a new book to read. We're using the Google Books API.
One of the main goals of this app is too use all the latest libraries and tools available.
- Application entirely written in Kotlin
- Complete migrated to Jetpack Compose
- Asynchronous processing using Coroutines
- Dependency injection with Koin
- Data storage using Datastore
For more dependencies used in project, please access the Dependency File
This demo architecture is strongly based on the Clean Architecture by Uncle Bob. The application also relies heavily in modularization for better separation of concerns and encapsulation.
Let's take a look in each major module of the application:
- app - The Application module. It contains all the initialization logic for the Android environment and starts the Jetpack Navigation Compose Graph.
- features - The module containing all the visual from the application, separated by features
- domain - The modules containing the most important part of the application: the business logic. This module depends only on itself and all interaction it does is via dependency inversion.
- data - The module containing the data (local, remote, light etc) from the app
This type of architecture protects the most important modules in the app. To achieve this, all the dependency points to the center, and the modules are organized in a way that the more the module is in the center, more important it is.
Copyright 2022 Luan Silva
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.