Skip to content

Proof of concept: Android + Kotlin + MVVM + Clean + Tests

License

Notifications You must be signed in to change notification settings

alexaniko88/MyCocktailsExpert

Repository files navigation

Cocktail Explorer

License: MIT

Cocktail Explorer is an Android application written in Kotlin that allows users to explore a list of cocktails, search for specific cocktails, and view detailed information about each cocktail. The app follows the principles of clean architecture, uses MVVM pattern, Retrofit for consuming endpoints, Koin for dependency injection, and Unit Tests for testing business logic.

Features

  • Browse a diverse selection of cocktails
  • Search for cocktails by name
  • View detailed information including ingredients and preparation instructions

Architecture

Cocktail Explorer follows the principles of clean architecture, separating concerns into data, domain, and presentation layers:

  • Data Layer: Responsible for data retrieval from remote sources using Retrofit.
  • Domain Layer: Contains business logic and use cases for manipulating data.
  • Presentation Layer: Handles UI logic and interaction with the user.

Technologies Used

  • Kotlin: Primary programming language for development.
  • Retrofit: HTTP client for consuming RESTful APIs.
  • Koin: Dependency injection framework for managing dependencies.
  • JUnit and Mockito: Libraries for writing and running Unit Tests.

Testing

Cocktail Explorer includes comprehensive Unit Tests to ensure the correctness of the business logic and functionality.

Demo

Releases

No releases published

Packages

No packages published

Languages