GitHubKotlinMPPSample
                                
                                 GitHubKotlinMPPSample copied to clipboard
                                
                                    GitHubKotlinMPPSample copied to clipboard
                            
                            
                            
                        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
- get GitHub API token. needs user scope.
- create secret.propertiesat the project root directory with following content
GITHUB_API_TOKEN=PLACE_YOUR_TOKEN
IntelliJ
Tick "tick Delegate IDE build/run actions to gradle"(Settings - Build, Execution, Deployment - Build Tools - Gradle - Runner )