/ClientServerSample

Primary LanguageKotlinMIT LicenseMIT

Punk Brew

The project is Kotlin based Android application, which represents BrewDog beer catalogue fetch data from Punk API and store the data locally. In this application you can view the entire catalog of BrewDog kinds of beer, detailed information about each kind of beer.

Application follows MVVM pattern and use LiveData and ViewModel from Android Architecture Components.

Dependencies

Building

Run Gradle from the root directory of the project to build it.

./gradlew build

After completion there will be two directories in app/build/outputs/apk with apk files for debug and release.

In order to run unit tests:

./gradlew clean test

In order to run android instrumentation tests (please make sure you have device connected or emulator running):

./gradlew connectedAndroidTest

If you want to install app to your device/emulator, run:

./gradlew installDebug