An open API service indexing awesome lists of open source software.

https://github.com/nadafeteiha/bookstore

This is a sample Android application that allows users to browse books, see their ratings and prices, save them to favorites, and search for books.
https://github.com/nadafeteiha/bookstore

hilt-dependency-injection jetpack-android jetpack-compose kotlin ktor-client mvvm pager sqldelight

Last synced: 3 months ago
JSON representation

This is a sample Android application that allows users to browse books, see their ratings and prices, save them to favorites, and search for books.

Awesome Lists containing this project

README

        

Book Android Application



“Think before you speak. Read before you think.”

This is a sample Android application that allows users to browse books, see their ratings and prices, save them to favorites, and search for books.

## Libraries Used:
- [Jetpack Compose](https://developer.android.com/jetpack/compose?gclid=CjwKCAiAzKqdBhAnEiwAePEjktk3ROIIxTqejhHWkDEwSaQqoE6GgrNHM8iYKw8xHx5SPPDu0oJ_DxoC8LYQAvD_BwE&gclsrc=aw.ds) for UI design.
- [SQLDelight](https://cashapp.github.io/sqldelight/2.0.0-alpha05/) for database management.
- [Ktor](https://ktor.io/docs/getting-started-ktor-client-multiplatform-mobile.html) for networking
- [Hilt dependency injection](https://developer.android.com/training/dependency-injection/hilt-android) for dependency injection.
- [MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) architecture for clean separation of concerns and easy testing.
- [Coroutines](https://developer.android.com/kotlin/coroutines) for asynchronous programming
- [StateFlow](https://developer.android.com/kotlin/flow/stateflow-and-sharedflow) for reactive programming
- [Pager in Compose](https://developer.android.com/jetpack/compose/layouts/pager)

## Features:
The application allows users to:
- Browse books
- See ratings for each book
- See the price of each book
- Save books to favorites
- Search for books
- Dark, Light theme

## Resources:
- [Compose Pathway](https://developer.android.com/courses/jetpack-compose/course)
- [Jetpack compose Samples](https://github.com/android/compose-samples)

## To Do:
- Refactor the app to follow the Google recommended architecture.
- Improve the UI using Compose and Material Design guidelines.
- Write unit and integration tests to ensure app functionality and stability.

## License:

Copyright 2023 Nada Feteiha

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.