/KmmMovieBuff

This project is implementation of KMM version of Android and iOS app

Primary LanguageKotlinApache License 2.0Apache-2.0

TMBD Movie KMM app for Android and iOS

This project is the implementation of how one can adopt the Kmp (Kotlin multiplatform) for building Android and ios apps. I have used the TMDB's developer apis to fetch the movie-related data. I have used the Compose Multiplatform to build the UI of both platforms. If you are new to Compose multiplatform please go through: https://www.jetbrains.com/lp/compose-multiplatform/

How to build the project

To build the project you need some basic understanding of how the KMP projects are built. For that, you have look at: https://kotlinlang.org/docs/multiplatform-mobile-getting-started.html To build the project first you must generate the API key from the TMDB developers portal : https://developer.themoviedb.org/

Once you have got the api key follow the below steps:

  1. Search for the file network.kt file.
  2. Replace the api key within quotes instead of text
  3. choose the platform and hit run

Demo Video

6b31fab4-09e4-42f4-a3ee-359e9b3e9b38.mp4

What's Next

  • Some more UI improvement
  • Adding Login functionality
  • Adding the Web support
  • Improving overall Architecture
  • Write some unit test cases
  • Implementing videos from the TMDB APIs
  • working on some cool features

Tech Stack

  • Kotlin - First class and official programming language for Android development.
  • Jetpack Compose - Android’s modern toolkit for building native UI.
  • Jetbrain's compose multiplatform - UI development for Android, iOS, Web, Desktop and many more.
  • Coroutines and Flow - Official Kotlin's tooling for performing asynchronous work.
  • MVVM/MVI Architecture - Official recommended architecture for building robust, production-quality apps.
  • Kotlin multiplatform - Kotlin-based development for frontend applications for Android,iOS, Web and desktop.
  • Decompose - Kotlin Multiplatform library for breaking down your code into lifecycle-aware business logic components (aka BLoC), with routing functionality and pluggable UI (Jetpack Compose, Android Views, SwiftUI, JS React, etc.)
  • Image Loading - Compose Image library for Kotlin Multiplatform.
  • Async data lading - Ktor is a framework to easily build connected applications – web applications, HTTP services, mobile and browser applications.

For more information about used dependencies, see this file.

Questions

If you have any questions regarding the codebase, or you would like to discuss anything about the project hit/connect me up on :