joreilly/BikeShare
حول
مشروع Kotlin Multiplatform يستخدم SwiftUI وJetpack Compose وCompose for Desktop وCompose for Web، ويتصل بواجهة CityBikes API (http://api.citybik.es/v2/). يستخدم Room للتخزين المحلي.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- +١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلBikeShare
Compose Multiplatform and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API). Uses Circuit and kotlin-inject.
Running on
- iOS (SwiftUI)
- Android (Jetpack Compose)
- Desktop (Compose for Desktop)
- Web (Wasm based Compose for Web)
- Swift Executable Package
Related posts:
- Using Kodein-DB NoSQL database in a Kotlin Multiplatform project
- Exploring use of StateFlow in a Kotlin Multiplatform project
- Creating SwiftUI Multiplatform project (iOS and macOS) that consumes shared Kotlin Multiplatform non-UI code!
- Using SwiftUI and Compose to develop App Widgets on iOS and Android
- Bridging the gap between Swift 5.5 concurrency and Kotlin Coroutines with KMP-NativeCoroutines
- Creating a Swift command line app that consumes Kotlin Multiplatform code - Part 2
- Using kotlin-inject in a Kotlin/Compose Multiplatform project
- Using Circuit with kotlin-inject in a Kotlin/Compose Multiplatform project
Building and running
Requires JDK 17+ and a recent Android Studio release with AGP 9.x support (the project uses the new com.android.kotlin.multiplatform.library plugin).
- Android:
./gradlew :androidApp:installDebug(or run theandroidAppconfiguration in Android Studio) - Desktop:
./gradlew :compose-desktop:run - Web:
./gradlew :compose-web:wasmJsBrowserDevelopmentRun - iOS: open
ios/BikeShare/BikeShare.xcodeprojin Xcode and run



Note that this makes use of https://github.com/Shusshu/android-flags for flag images shown.
UI tests
There's a Maestro UI test flow shared by the Android and iOS clients, run by CI on
an emulator and a simulator (e.g. maestro test -e APP_ID=dev.johnoreilly.bikeshare maestro/BikeShare.flow).
Full set of Kotlin Multiplatform/Compose/SwiftUI samples
- PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
- GalwayBus (https://github.com/joreilly/GalwayBus)
- Confetti (https://github.com/joreilly/Confetti)
- BikeShare (https://github.com/joreilly/BikeShare)
- FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
- ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
- GeminiKMP (https://github.com/joreilly/GeminiKMP)
- MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
- StarWars (https://github.com/joreilly/StarWars)
- WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
- Chip-8 (https://github.com/joreilly/chip-8)
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…