Skip to content

martamagui/StephenKingTheApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

Stephen King Books App

Description

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.

Current Jacoco test coverage report:

imagen


🚧 Roadmap 🚧

Note: (Project still in progress)

Data Layer

  • Define API endpoints.
  • Create data models for the API responses.
  • Implement a repository for data fetching and caching.

Domain Layer

  • Create repository for retrieving books and handling business logic.
  • Create use cases for retrieving books and handling business logic.

Presentation Layer

  • 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.

Testing

  • Write unit tests for use cases and ViewModels.
  • Create UI tests using Jetpack Compose Testing.

Additional Features

  • 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

Technologies and Tools

  • 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

Instructions

To run this project add to you local properties the following line: BASE_URL ="https://stephen-king-api.onrender.com/api/"

About

Compose Android app following MVVM arquitecture + unit and ui testing + Jacoco reports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages