Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`