Skip to content

It is project of Consuming Rest API using Ktor Client, Navigation using PreCompose, ViewModel using Moko Viewmodel and Jetpack compose for UI development in Koltin Multi Platform.

Notifications You must be signed in to change notification settings

KaushalVasava/KMP_ApiHandling

Repository files navigation

KMP_ApiHandling

It is a simple app where Home page shows all photos from Unplace api and FullImage page shows particular image using MVVM architecture.

Technologies used:

  • Kotlin Multi Platform to Develop Apps for different platform like Android, Ios, Desktop, Web and MacOs.
  • Kotlin for coding.
  • Jetpack compose for UI development.
  • Ktor client for API calls.
  • MVVM architecture for better code reusability and management.
  • Moko-Viewmodel for Viewmodel support in KMP.
  • Navigation using PreCompose library.

Supported Platform

  • Android
  • iOS (you need a Mac)
  • Desktop

Project Setup

You need to add your Unsplash API key to run this app. So first create a free developer account on Unsplash and add this app key in the AppConstants.kt file.

Guidance article -> https://medium.com/@KaushalVasava/kotlin-multi-platform-project-setup-guide-340aae9b3bea

Some IMP docs

Screen Recording and Screenshots

image

Screenshot 2023-08-26 205423

KMP_API_HANDLING.2.mp4

Support Me

If you like my work you can support me via :

buymecoffee1 (2)

Thank you

Follow me on LinkedIn, GitHub, Twitter, Instagram, Medium and add this repo to your favorite and share with your friends and colleague. Happy coding 😊

Author

Kaushal Vasava

Licence

Copyright 2023 Kaushal Vasava

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.

About

It is project of Consuming Rest API using Ktor Client, Navigation using PreCompose, ViewModel using Moko Viewmodel and Jetpack compose for UI development in Koltin Multi Platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published