Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianogoes/hexagonal-kotlin-template
https://github.com/fabianogoes/hexagonal-kotlin-template
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabianogoes/hexagonal-kotlin-template
- Owner: fabianogoes
- License: mit
- Created: 2022-09-25T22:24:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T00:42:02.000Z (about 2 years ago)
- Last Synced: 2024-10-16T19:59:44.329Z (2 months ago)
- Language: Shell
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arquitetura Hexagonal com Kotlin, Gradle e ArchUnit
## Projeto
```bash
mkdir hexagonal-kotlin-template
cd hexagonal-kotlin-template
```**Estrutura**
```bash
mkdir -p domain/src/main/kotlin
mkdir -p domain/src/test/kotlin
mkdir -p main/src/main/kotlin
mkdir -p main/src/test/kotlin
mkdir -p primary/rest/src/main/kotlin
mkdir -p primary/rest/src/test/kotlin
mkdir -p primary/kafka-consumer/src/main/kotlin
mkdir -p primary/kafka-consumer/src/test/kotlin
mkdir -p secondary/mysql/src/main/kotlin
mkdir -p secondary/mysql/src/test/kotlin
mkdir -p secondary/kafka-producer/src/main/kotlin
mkdir -p secondary/kafka-producer/src/test/kotlin
```**Gradle Build**
```bash
touch domain/build.gradle
touch main/build.gradle
touch primary/rest/build.gradle
touch primary/kafka-consumer/build.gradle
touch secondary/kafka-producer/build.gradle
touch secondary/mysql/build.gradle
```### Gradle Build Files
- [./settings.gradle](./settings.gradle)
- [./build.gradle](./build.gradle)
- [./gradle.properties](./gradle.properties)
- [./domain/build.gradle](./domain/build.gradle)
- [./main/build.gradle](./main/build.gradle)
- [./primary/rest/build.gradle](./primary/rest/build.gradle)
- [./primary/kafka-consumer/build.gradle](./primary/kafka-consumer/build.gradle)
- [./secondary/kafka-producer/build.gradle](./secondary/kafka-producer/build.gradle)
- [./secondary/mysql/build.gradle](./secondary/mysql/build.gradle)