Pinaki93 / Desipe

An Indian Recipe App 🍜 built on MVVM architecture πŸš€ with Kotlin, LiveData, Jetpack Navigation, Room, View Binding, Dagger Hilt, Coil, Retrofit, OkHTTP and Material Components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desipe πŸ₯˜

Desipe is a simple app listing a few Indian recipes, created to demonstrate some of the commonly used libraries in Android development.

Download πŸ“₯

The release APK can be downloaded from here.

Architecture πŸ—οΈ

I've used Google recommended app architecture following Model-View-ViewModel (MVVM) architecture, exposing PresentationModel out from the ViewModel wrapped in LiveData to updated the UI in a lifecycle aware manner.

Libraries Used πŸ“š

UI:
πŸš€ AndroidX libraries (Core/AppCompat/ConstraintLayout/RecyclerView)
πŸš€ Material Design

Transitions:
πŸš€ Jetpack Navigation

Threading:
πŸš€ Kotlin Coroutine

Dependency Injection:
πŸš€ Dagger-Hilt

SQLite:
πŸš€ Room Database

Image loading/animations:
πŸš€ Coil-Kt
πŸš€ Lottie

HTTP Operations:
πŸš€ Retrofit
πŸš€ Okhttp

JSON serialization/deserialization:
πŸš€ Moshi

Mocking/Spying test objects:
πŸš€ Mockk

Data ☁️

Data is a dummy set of JSON and images hosted on a github page. Most of the content is still dummy. Please feel free to clone this repo and add/modify content under the recipes folder.

Dark Theme πŸŒ™

Support for Dark Theme is available. However, there is a small bug for Android 10 and above that the theme doesn't get updated when user selects Follow System from the bottom sheet. Upon killing the app once and returning back, the theme gets updated.

TODO πŸ”¨

πŸ› οΈ Set Up CI using either Github Workflow or CircleCI
πŸ› οΈ Add lint support
πŸ› οΈ Write UI tests and increase test coverage.

Screenshots πŸ“·

Light Theme:

Dark Theme:

Art

I made a humble attempt to create the app icon by myself πŸ’© using Inkscape a free and open source vector graphics editor available across MacOS, Windows and Linux.

License

MIT License

Copyright (c) 2020 Pinaki Acharya

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

An Indian Recipe App 🍜 built on MVVM architecture πŸš€ with Kotlin, LiveData, Jetpack Navigation, Room, View Binding, Dagger Hilt, Coil, Retrofit, OkHTTP and Material Components

License:MIT License


Languages

Language:Kotlin 100.0%