https://github.com/jarroyoesp/composekmpgraphql
https://github.com/jarroyoesp/composekmpgraphql
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jarroyoesp/composekmpgraphql
- Owner: jarroyoesp
- Created: 2021-11-14T13:05:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-14T21:03:51.000Z (over 3 years ago)
- Last Synced: 2025-02-07T21:25:09.045Z (3 months ago)
- Language: Kotlin
- Size: 1.99 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Architecture
# Languages, libraries and tools used
* [Apollo GraphQL](https://www.apollographql.com/)
* [Kotlin MultiPlatform](https://kotlinlang.org/docs/multiplatform.html/)
* [Kotlin](https://kotlinlang.org/)
* [Kotlin-Coroutines + Flow](https://kotlinlang.org/docs/reference/coroutines-overview.html)
* [LiveData](https://developer.android.com/topic/libraries/architecture/livedata)
* [Android Architecture Components](https://developer.android.com/topic/libraries/architecture/index.html)
* Android X Core
* [Hilt-Dagger](https://dagger.dev/hilt/)
* [Room](https://developer.android.com/topic/libraries/architecture/room.html)
* [Mockito](http://site.mockito.org/)
* [Espresso](https://developer.android.com/training/testing/espresso/index.html)# App
Use this to generate schema.graphqls:
```
./gradlew downloadApolloSchema \
--endpoint="https://rickandmortyapi.com/graphql" \
--schema="SharedCodeClient/src/commonMain/graphql/com/jarroyo/schema.graphqls"
```
GraphQL queries used:```
query GetCharacters{
characters {
results {
id,
name,
image
}
}
}
```