https://github.com/its-me-debk007/kotlin-android-mvvm-template
Lightweight Jetpack Compose template with Navigation, Retrofit/Ktor, and Dagger-Hilt fully set up, letting you focus on what matters!
https://github.com/its-me-debk007/kotlin-android-mvvm-template
android chucker dagger-hilt github-actions github-template gradle gradle-version-catalog jetpack-compose kotlin kotlin-android kotlin-android-mvvm kotlin-android-mvvm-template kotlin-android-template kotlin-dsl kotlin-v2 ksp mvvm-architecture retrofit retrofit2 template
Last synced: 28 days ago
JSON representation
Lightweight Jetpack Compose template with Navigation, Retrofit/Ktor, and Dagger-Hilt fully set up, letting you focus on what matters!
- Host: GitHub
- URL: https://github.com/its-me-debk007/kotlin-android-mvvm-template
- Owner: its-me-debk007
- License: mit
- Created: 2023-09-14T12:11:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-14T12:47:44.000Z (about 2 months ago)
- Last Synced: 2025-08-14T14:26:24.992Z (about 2 months ago)
- Topics: android, chucker, dagger-hilt, github-actions, github-template, gradle, gradle-version-catalog, jetpack-compose, kotlin, kotlin-android, kotlin-android-mvvm, kotlin-android-mvvm-template, kotlin-android-template, kotlin-dsl, kotlin-v2, ksp, mvvm-architecture, retrofit, retrofit2, template
- Language: Kotlin
- Homepage:
- Size: 439 KB
- Stars: 57
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Β Β
[](https://github.com/its-me-debk007)Β Β
# Kotlin Android MVVM Template
A simple+lightweight template for a Jetpack Compose app with Navigation, Retrofit, Dagger-Hilt fully setup for convenience, so you can **focus only on what's important!**
> ***"Every line of code should be written once, and only once." - Ron Jeffries***
## Features π¨
- Project fully in `Jetpack Compose`
- Jetpack Compose Navigation
- Retrofit *(Fully setup with a **working** sample API Call)*
> [!NOTE]
> for API Call using **ktor**, switch to `ktor` branch
- MVVM Architecture
- Kotlin DSL
- `Gradle Version Catalog` for dependency management
- `detekt` for code smell analysis - configured for **Jetpack Compose**
- `Dependabot` *(with a weekly schedule)*
- `GitHub Actions` CI/CD pipeline to **run detekt lint checks** + **perform unit tests** + **build and upload apk**
- Coil *(for image loading)*## Getting Started π£
- Click on [](https://github.com/new?template_name=kotlin-android-mvvm-template&template_owner=its-me-debk007) button to create a new repository from this template
- Few TODOs are added, such as changing *package name*, *server base url*, *api endpoints*, etc to guide through the project *(just type TODO after pressing SHIFT key twice in Android Studio, to search for the TODOs)*
- Enable Dependabot in repo settings *(for ref, a [30 sec video](https://www.youtube.com/watch?v=yvXKlDgiGHo))*## Project Structure πΊοΈππ οΈ
The project includes a single module **`app`**, with following packages:
- **`di`:** contains Dagger-Hilt Module
- **`network`:** includes api service containing api endpoints & type of request
- **`model`:** contains response data class from the server
- **`repository`:** contains repository interface & its implementation
- **`presentation`:** signifies the presentation layer## Contributing π€
Join us in shaping the future of this project β your contributions are invaluable! Feel free to open a issue or submit a pull request for any bugs/improvements.
## License
Distributed under the MIT License. See `LICENSE` file for more information.
#### π If you find value in this project, please consider starring it! Your support keeps it thriving. π