Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bod/apollo-kotlin-template-multi-modules-and-services
Sample: Apollo Kotlin 3 with multiple modules and services
https://github.com/bod/apollo-kotlin-template-multi-modules-and-services
Last synced: about 1 month ago
JSON representation
Sample: Apollo Kotlin 3 with multiple modules and services
- Host: GitHub
- URL: https://github.com/bod/apollo-kotlin-template-multi-modules-and-services
- Owner: BoD
- Created: 2022-02-04T16:14:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T13:25:35.000Z (4 months ago)
- Last Synced: 2024-07-15T15:57:37.972Z (4 months ago)
- Language: Kotlin
- Homepage:
- Size: 81.1 KB
- Stars: 2
- 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
This is a minimalist sample of a project with several modules and services
using [Apollo Kotlin 3](https://www.apollographql.com/docs/kotlin).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
- `feature1`
- Depends on `graphqlSchema`
- Defines 1 additional query for each service
- `feature2`
- Depends on `graphqlSchema`
- Defines 1 additional query for each service
- `app`
- Depends on `graphqlSchema`, `feature1` and `feature2`