KMP-API is a Kotlin Multiplatform project aimed at to understand Simple API code shared on Both platform. Utilizing the power of Kotlin Multiplatform, this project demonstrates how to share code seamlessly across Android, iOS.
This project fetches its data from the SpaceX Data API. The SpaceX API provides company, vehicle, launch, and event data for SpaceX. SpaceX Rockets API Endpoint
Android/iOS |
- Share code across Android and iOS.
- Kotlin serialization with version
1.8.20
. - Coroutines support with version
1.7.1
. - Ktor client for network operations with version
2.3.2
. - ComposeUI for Android
- SwiftUI for iOS
- Kotlin 1.8.20 or later.
- Android SDK with compileSdk 34 and minSdk 26.
- ioS above 15.0
-
Clone the repository:
git clone https://github.com/deepakkanyan/KMP-API.git
-
Navigate to the project directory and ensure you have the specified prerequisites installed.
- Kotlinx Coroutines: For managing asynchronous tasks and more.
- Ktor: A flexible and powerful Kotlin client for networking tasks.
- Kotlin for making multiplatform development a reality.
- The maintainers and contributors of the libraries used in this project.