{"id":31559452,"url":"https://github.com/mirzemehdi/quotesapp","last_synced_at":"2026-02-28T13:31:58.792Z","repository":{"id":37513620,"uuid":"278913879","full_name":"mirzemehdi/quotesapp","owner":"mirzemehdi","description":"This quotes app targets Android, iOS and Desktop platforms, and is developed using Kotlin Multiplatform, JetBrains Compose Multiplatform, App Modularization, Clean Architecture and other Jetpack Components and multiplatform libraries. ","archived":false,"fork":false,"pushed_at":"2023-08-03T12:07:40.000Z","size":41125,"stargazers_count":80,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T01:39:24.317Z","etag":null,"topics":["android","android-application","clean-architecture","desktop-app","ios-app","jetbrains-compose","jetpack-components","jetpack-compose","kotlin","kotlin-multiplatform","kotlin-multiplatform-mobile","ktor","ktor-client","ktor-server","modularization","multimodule-android-app","tdd"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirzemehdi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-11T17:52:30.000Z","updated_at":"2025-06-20T15:58:13.000Z","dependencies_parsed_at":"2025-10-05T01:49:35.469Z","dependency_job_id":null,"html_url":"https://github.com/mirzemehdi/quotesapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirzemehdi/quotesapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirzemehdi%2Fquotesapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirzemehdi%2Fquotesapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirzemehdi%2Fquotesapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirzemehdi%2Fquotesapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirzemehdi","download_url":"https://codeload.github.com/mirzemehdi/quotesapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirzemehdi%2Fquotesapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29935362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:16:57.922Z","status":"ssl_error","status_checked_at":"2026-02-28T13:11:15.149Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-application","clean-architecture","desktop-app","ios-app","jetbrains-compose","jetpack-components","jetpack-compose","kotlin","kotlin-multiplatform","kotlin-multiplatform-mobile","ktor","ktor-client","ktor-server","modularization","multimodule-android-app","tdd"],"created_at":"2025-10-05T01:38:41.605Z","updated_at":"2026-02-28T13:31:58.755Z","avatar_url":"https://github.com/mirzemehdi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuotesApp - MultiPlatform MultiModular Android, iOS and Desktop APP\n\n[![Build Debug apk](https://github.com/mirzemehdi/quotesapp/actions/workflows/build_debug.yml/badge.svg)](https://github.com/mirzemehdi/quotesapp/actions/workflows/build_debug.yml)\n[![Static Code Analyzing](https://github.com/mirzemehdi/quotesapp/actions/workflows/static_code_analyze.yml/badge.svg)](https://github.com/mirzemehdi/quotesapp/actions/workflows/static_code_analyze.yml)\n[![Testing](https://github.com/mirzemehdi/quotesapp/actions/workflows/unit_testing.yml/badge.svg)](https://github.com/mirzemehdi/quotesapp/actions/workflows/unit_testing.yml)\n\nThis quotes app targets Android, iOS and Desktop platforms, and is developed using **Kotlin Multiplatform**, **JetBrains Compose Multiplatform**, **App Modularization**, **Clean Architecture** and **other Jetpack Components and multiplatform libraries**. \nProject is developed in **TDD (Test Driven Development) style** by writing Unit and UI tests.  \n\n\nThis Github project contains 5 main branches:  \n\n   _**main**_ -\u003e Latest version of the project using _**Kotlin MultiPlatform**_ targetting ios and android platforms. UI side of the project is implemented using _**JetBrains Compose Multiplatform**._    \n   _**compose_ui_android**_ -\u003e Android version of the project using Jetpack Compose UI  \n     _**mvvm**_ -\u003e Initial version written in mvvm pattern    \n    _**clean-architecture-layered**_ -\u003e Second refactoring from mvvm to clean architecture (creating UseCases, and separate modules (domain, data, presentation).    \n    _**multi_modular**_ -\u003e Third refactoring using modularization (separating domain, data presentation layers as a package inside each feature module)  \n\n**_Related Blog Posts_**  \nAchieving iOS Compatibility(KMM+Compose Multiplatform) : https://medium.com/p/edd364854a0d  \nMigrating to Jetpack Compose: https://medium.com/p/b7f57504df2b    \nRefactoring of architecture of this project: https://medium.com/p/ef6cdcb409a    \n\n## Overview of Architecture\n\n\u003cimg src=\"outputs/screenshots/app_dependency_graph.png\" alt=\"architecture\" \u003e\n\n\u003chr\u003e\n\n#### Used kotlin multiplatform libraries\n_**JetBrains Compose Multiplatform**_ - For providing shared UI for android and ios   \n_**Koin**_ - For dependency injection  \n_**Napier**_ - Logging library  \n**_Navigation_** - https://github.com/chRyNaN/navigation  \n_**Kotlinx Datetime**_ - A multiplatform Kotlin library for working with date and time  \n_**Ktor**_ - Networking library for both in server and client side   \n_**Moko Resources**_ - A multiplatform Kotlin library for sharing resources  \n\n\u003chr\u003e\n\n#### Backend (/backend-server)     \nBackend is developed using Kotlin and Ktor library. MongoDB database is used and it is deployed in Google App Engine.  \n\n#### Root module\nAll feature modules are included in shared multiplatform root module. Main responsibility of root module is \nproviding dependencies using **_Koin Dependency Injection_**, navigation between modules, and providing MainView for android, ios and desktop platforms.  \n\n\n\u003chr\u003e\n\n#### Feature modules\n**_:shared:feature:quotes_:**  This module is for listing and adding new quotes.  \n**_:shared: feature:profile_:**  This module is for viewing profile.\n\nEach feature module is multiplatform module that is developed using Clean Architecture, and inside \neach module there are 3 packages (_domain, data, presentation_) for separating \nlayers. Because in kotlin there is no package visibility modifier, custom **_Clean Architecture_**\n**_detekt_** rule is created in **_:customdetektrules_** module, and this module is implemented\nin each feature module in order not to breaking clean architecture rules. Beside that each \nfeature module includes **_:shared:common:core_** and **_:shared:common:ui_** modules. For testing purposes\n**_:shared:test-utils_** is also included in feature modules.   \n\n\n\u003chr\u003e\n\n\n#### Common Modules\n**_:shared:common:core_:**  This module contains core objects that can be used \nin every multiplatform library module, like _Result_ or _ErrorEntity_ classes.\n\n**_:shared:common:ui_:**  This module contains main styling, coloring, theming of the project. \nIt also includes some UI helper classes.  \n\n\n\n\u003chr\u003e\n\n\n\n#### Test module\nContains helper classes for making testing easier. It is included in each module \nfor both **_Unit_** and **_Instrumentation Tests_**.     \n\n\u003chr\u003e\n\n\n#### CustomDetektRules module\nCustom rules for checking code styles using _**detekt**_ are created in this module. \nOne custom rule that is created inside module is _Clean Architecture Rule_ which checks that \nif any violation of architecture occurred in somewhere in the code.  \nCode style can be checked by running this gradle command: **./gradlew detekt**\n\n\u003chr\u003e\n\n\n#### Kotlin DSL\nThe project uses the _**Kotlin DSL**_ to make it easy to include new dependencies and versions of libraries and modules.\nThese are included inside **_buildSrc_** module. Inside buildSrc module \ncommon multiplatform library gradle script is also created for making gradle files of modules more readable.\n\n## Gradle Scripts\n`./gradlew ktlintFormat` - Checks kotlin code styles and format it if possible. \u003cbr\u003e  \n`./gradlew detekt` - Checks kotlin code styles and custom code styles that is created inside _customDetektRules_ module.  \u003cbr\u003e  \n`./gradlew unitTestReport` - Code coverage report for Unit tests.  \u003cbr\u003e  \n`./gradlew androidTestReport` - Code coverage report for both Android and Unit tests.\n\n*_Each time when adding new commit **pre-commit hook** script will run, which checks if there is any code \nstyle problem before committing it to Github. This can be skipped using **git commit --no-verify**, \nbut it will run again in CI using Github actions._\n\n## Mobile App Demo \n\nYou can [download the apk](outputs/quotes.apk), and can add your own quote :). \u003cbr\u003e  \n\nhttps://github.com/mirzemehdi/quotesapp/assets/32781662/510d8c92-f136-4193-bff1-47394470305b  \n\n## Desktop App Demo \n\n\n\nUploading desktopdemo.mov…\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirzemehdi%2Fquotesapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirzemehdi%2Fquotesapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirzemehdi%2Fquotesapp/lists"}