https://github.com/bod/apollo-kotlin-template-multi-modules-and-services-android
Sample: Apollo Kotlin 3 with multiple modules and services and Android app
https://github.com/bod/apollo-kotlin-template-multi-modules-and-services-android
Last synced: 21 days ago
JSON representation
Sample: Apollo Kotlin 3 with multiple modules and services and Android app
- Host: GitHub
- URL: https://github.com/bod/apollo-kotlin-template-multi-modules-and-services-android
- Owner: BoD
- Created: 2023-02-07T10:01:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T18:23:10.000Z (over 3 years ago)
- Last Synced: 2025-01-11T10:40:48.890Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample: Apollo Kotlin 3 with multiple modules and services and Android app
This is a minimalist sample of a project with several modules and services
using [Apollo Kotlin 3](https://www.apollographql.com/docs/kotlin), and an Android app.
It contains 3 modules:
```mermaid
graph TD;
app-->graphqlSchema;
app-->feature1;
app-->feature2;
feature1-->graphqlSchema;
feature2-->graphqlSchema;
```
- `graphqlSchema`
- Contains the GraphQL schema for 2 services
- Defines 1 query for each service
- Is an Android library module
- `feature1`
- Depends on `graphqlSchema`
- Defines 1 additional query for each service
- Is an Android library module
- `feature2`
- Depends on `graphqlSchema`
- Defines 1 additional query for each service
- Is an Android library module
- `app`
- Depends on `graphqlSchema`, `feature1` and `feature2`
- Is an Android app module