Sample GitHub Android application built with Jetpack Compose. GitHub REST API and GraphQL API used to fetch different information from GitHub. This is because GitHub doesn't expose all data via REST API and GraphQL API version is more rich.
Main building blocks
- Kotlin
- Gradle (Kotlin DSL) for build scripts
- Gradle version catalogs (.toml) for dependencies management
- MVVM architecture with Unidirectional Data Flow (UDF)
- Modularization for clear separation of concerns and layered architecture
- Jetpack Compose for declarative UI
- Kotlin Coroutines for concurrency
- Material / Material 3 for design
- Compose Navigation for navigation between compose screens
- Retrofit / Apollo GraphQL for API requests
- Dagger / Hilt for dependency injection
- Coil for image loading
GitHub requires personal access token to access the API (link).
Make sure GITHUB_API_TOKEN variable is set in local.properties file for GitHub API to work.
Also, to change the default GitHub user to be used in app change GITHUB_USER_NAME in local.properties.
Copyright 2024 Veaceslav Gaidarji
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.
