All Projects → vipulshah2010 → FoodApp

vipulshah2010 / FoodApp

Licence: Apache-2.0 license
Proof of concept for food app [JetPack + Coroutines + Flow + MockK + JaCoCo coverage + SonarQube]

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to FoodApp

Modular App Core
Core implementations for a modular Android App
Stars: ✭ 127 (+408%)
Mutual labels:  coroutines, clean-architecture, repository-pattern, architecture-components, room-persistence-library
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (+60%)
Mutual labels:  coroutines, repository-pattern, mvvm-architecture, coroutines-android, architecture-components
Android Kotlin Mvi Cleanarchitecture
Android + Kotlin + Modularization + Gradle Depedency managment + Gradle written in Kotlin DSL + Custom Gradle Plugin + MVVM + MVI + Clean Architecture + Repository Pattern + Coroutines + Flows + Koin + Retrofit2 + ROOM + Kotlin-Android-Extension + KtLints
Stars: ✭ 187 (+648%)
Mutual labels:  coroutines, clean-architecture, repository-pattern, mvvm-architecture, room-persistence-library
Covid 19 Tracker
Android app to track COVID-19 cases in India and globally.
Stars: ✭ 96 (+284%)
Mutual labels:  clean-architecture, repository-pattern, mvvm-architecture, room-persistence-library
JustJava-Android
JustJava is a mock food ordering and delivery application for a coffee shop.
Stars: ✭ 59 (+136%)
Mutual labels:  coroutines, mvvm-architecture, coroutines-android, room-persistence-library
Movieapp Clean Architecture
Learning Project (Movie App) For Applying Android Architecture Components And Clean Architecture Using MVVM With Kotlin
Stars: ✭ 123 (+392%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture, architecture-components
ResDelivery-Hilt-Coroutines-Mvvm-Single-Activity
This is a Sample Single Activity App (Multi Fragments) that uses Dagger-Hilt, Coroutines Flows, Paging 3 & Mvvm Clean Architecture
Stars: ✭ 28 (+12%)
Mutual labels:  coroutines, mvvm-architecture, room-persistence-library, coroutines-flow
Clean Mvvm Archcomponents
👽 Android app consuming Star Wars API.Built with clean architecture ,MVVM pattern, Koin , Coroutines + Flows ,Architecture Components, Data Binding , Firebase , Unit/UI Tests ,Motion Layout
Stars: ✭ 285 (+1040%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture, architecture-components
MVI-Clean-Architecture
MVI + Clean Architecture + Best Practices | Example of Clean Architecture of Android app using MVI design pattern with Jetpack and popular libraries
Stars: ✭ 50 (+100%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture, coroutines-android
Kotlin Modular Tdd Coroutines Mvvm
A sample Kotlin app which was built with modular structure, Kotlin DSL, Kotlin Coroutines, TDD and MVVM patterns.
Stars: ✭ 256 (+924%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture
Archapp
Simple Android app to show how to design a multi-modules MVVM Android app (fully tested)
Stars: ✭ 551 (+2104%)
Mutual labels:  coroutines, mvvm-architecture, architecture-components
Movietray
Its a playground application focusing on Paging3, MVVM architecture, Kotlin Extension functions, Retrofit, DSL, Navigation component, MotionLayout, SharedElementTransition, Single Activity Architecture, DataStore etc.
Stars: ✭ 78 (+212%)
Mutual labels:  coroutines, mvvm-architecture, room-persistence-library
modern-android
Modern Android Project Skeleton
Stars: ✭ 17 (-32%)
Mutual labels:  coroutines, clean-architecture, repository-pattern
GitKtDroid
A sample Android application📱 built with Kotlin for #30DaysOfKotlin
Stars: ✭ 53 (+112%)
Mutual labels:  coroutines, coroutines-android, architecture-components
NYTimesMostPopularArticles
A simple app to hit the NY Times Most Popular Articles API and show a list of articles, that shows details when items on the list are tapped (a typical master/detail app), also user able to browse/ add articles to favorite list that implements MVVM architecture using Dagger2, Retrofit, Coroutines, LiveData, RoomDatabase, Database Debugging, Data…
Stars: ✭ 38 (+52%)
Mutual labels:  coroutines, repository-pattern, mvvm-architecture
android
🌦 Vädret
Stars: ✭ 17 (-32%)
Mutual labels:  coroutines, clean-architecture, coroutines-flow
raffler-kotlin
A raffling app developed as a playground to study many topics related to Android. Kotlin + Coroutines + MVVM
Stars: ✭ 44 (+76%)
Mutual labels:  coroutines, clean-architecture, coroutines-android
Coolweather
Weather App that uses Android best practices. Android Jetpack, clean architecture. Written in Kotlin
Stars: ✭ 154 (+516%)
Mutual labels:  coroutines, clean-architecture, architecture-components
Foodium
It simply loads Posts data from API and stores it in persistence storage (i.e. SQLite Database). Posts will be always loaded from local database. Remote data (from API) and Local data is always synchronized.
Stars: ✭ 1,940 (+7660%)
Mutual labels:  coroutines, coroutines-android, room-persistence-library
Fountain
Android Kotlin paged endpoints made easy
Stars: ✭ 175 (+600%)
Mutual labels:  coroutines, architecture-components, room-persistence-library

FoodApp

License Build Status

FoodApp is a small playground application built using MVVM architecture.
This project is primarily built with purpose of trying out new android tech stack.
It showcase Usecase and Repository architecture pattern for loading data from network and persisting it in database.


Library and Frameworks

  • Minimum SDK level 21
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Dagger-Hilt (alpha) for dependency injection.
  • JetPack
    • LiveData - notify domain layer data to views.
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct a database using the abstract layer.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Repository pattern
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Gson - JSON library for Kotlin and Java.
  • coil
  • Material-Components - Material design components like ripple animation, cardView.

Code Coverage and Reporting

  • This project uses Jacoco configuration to measure code coverage and currently the most widely used.
  • SonarQube is used for inspecting the Code Quality and Security codebase.
  • SonarQube consumes Jacoco test coverage report and displays it on sonarcloud

Run following command from root folder to generate JaCoco reports and view test coverage on sonarcloud

./gradlew clean jacocoTestDebugUnitTestReport sonarqube

Planned workflow:

  • More unit test coverage
  • Instrumentation test coverage
  • Fix Shared element transition

Architecture

FoodApp is based on MVVM architecture and a repository pattern.

Find this repository useful? ❤️

follow me on twitter! 🤩

License

Designed and developed by 2020 vipulshah2010 (Vipul Shah)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].