https://github.com/yshrsmz/githubkotlinmppsample
https://github.com/yshrsmz/githubkotlinmppsample
android android-application graphql ios ios-app kotlin kotlin-mpp kotlin-multiplatform sqlite
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yshrsmz/githubkotlinmppsample
- Owner: yshrsmz
- Created: 2019-01-29T02:21:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T08:15:46.000Z (about 6 years ago)
- Last Synced: 2025-03-18T08:22:20.484Z (about 2 months ago)
- Topics: android, android-application, graphql, ios, ios-app, kotlin, kotlin-mpp, kotlin-multiplatform, sqlite
- Language: Kotlin
- Size: 325 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHubKNSample
Sample Project of Kotlin Multiplatform(Android/iOS).
It fetches viewer's user info and his repositories.
Currently experimenting with MVI-ish architecture using Kotlin Coroutines.
## Libraries
- Kodein(for DI)
- Ktor(for Networking)
- kgql(for GraphQL)
- SQLDelight(for local cache)
- BuildKonfig(to embed github api token in the code)## Setup
1. get GitHub API token. needs user scope.
2. create `secret.properties` at the project root directory with following content```properties
GITHUB_API_TOKEN=PLACE_YOUR_TOKEN
```### IntelliJ
Tick "tick Delegate IDE build/run actions to gradle"(Settings - Build, Execution, Deployment - Build Tools - Gradle - Runner )