Git Product home page Git Product logo

kaushalvasava / kmp_apihandling Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 116 KB

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.

Kotlin 98.43% Swift 1.57%
jetpack-compose jetpackcompose kmm kmp kotlin kotlin-multiplatform kotlin-serialization kotlinmultiplatform ktor ktor-client moko-mvvm precompose restapi kotlin-multiplatform-mobile

kmp_apihandling's Introduction

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.

kmp_apihandling's People

Contributors

kaushalvasava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.