The Stephen King Books App is an Android application designed to fetch and display books authored by Stephen King. Utilizing the Stephen King API, the app will show book details in UI built with Jetpack Compose. The architecture follows the MVVM pattern, ensuring clear separation of concerns and ease of testing.
Key features include:
- List and detail views of Stephen King’s books.
- Clean and modern design with Jetpack Compose.
- Unit and UI testing for reliable performance.
Note: (Project still in progress)
- Define API endpoints.
- Create data models for the API responses.
- Implement a repository for data fetching and caching.
- Create repository for retrieving books and handling business logic.
- Create use cases for retrieving books and handling business logic.
- Set up the MVVM architecture with ViewModel for state management.
- Design screens with Jetpack Compose:
- Book list screen.
- Book details screen.
- Integrate StateFlow for reactive UI updates.
- Write unit tests for use cases and ViewModels.
- Create UI tests using Jetpack Compose Testing.
- Implement error handling for network issues and API failures.
- Change UI to a responsive design.
- Add jacoco for Unit testing reports
- Raise test coverage at least to 75%
- Keep improving the project
- Programming Language: Kotlin
- UI Framework: Jetpack Compose
- Architecture: MVVM
- Network Library: Retrofit
- Dependency Injection: Hilt
- Testing Frameworks: JUnit, Mockito, Jetpack Compose Testing
- State Management: Flows
To run this project add to you local properties the following line:
BASE_URL ="https://stephen-king-api.onrender.com/api/"
