Code Monkey home page Code Monkey logo

its-me-debk007 / kotlin-android-mvvm-template Goto Github PK

View Code? Open in Web Editor NEW
26.0 1.0 1.0 189 KB

Simple+Lightweight Template for Jetpack Compose app with Navigation, Retrofit, Dagger-Hilt fully setup for convenience, so you can focus only on what's important!

License: MIT License

Kotlin 100.00%
android chucker chucker-interceptor dagger-hilt github-template gradle gradle-version-catalog kotlin kotlin-android kotlin-android-mvvm kotlin-android-template kotlin-dsl mvvm-architecture retrofit retrofit2 template kotlin-android-mvvm-template github-actions ksp jetpack-compose

kotlin-android-mvvm-template's Introduction

Language   Owner   License

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)
  • MVVM Architecture
  • Kotlin DSL
  • Chucker
  • Dependency versions managed Gradle Version Catalog
  • Dependabot (with a weekly schedule)
  • GitHub Actions for building apk and uploading artifact
  • Glide (for image loading)

Getting Started 👣

  • Click on Use this template 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)
  • Grant notification permission to app in order for Chucker to work

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. 🚀

kotlin-android-mvvm-template's People

Contributors

dependabot[bot] avatar its-me-debk007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vbansal18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.