https://github.com/vspiewak/spring-hexagonal
A REST API boilerplate using Hexagonal Architecture and Spring Boot 3
https://github.com/vspiewak/spring-hexagonal
archunit cucumber hexagonal-architecture jacoco liquibase rest-assured spotless spring-boot testcontainers
Last synced: 26 days ago
JSON representation
A REST API boilerplate using Hexagonal Architecture and Spring Boot 3
- Host: GitHub
- URL: https://github.com/vspiewak/spring-hexagonal
- Owner: vspiewak
- Created: 2025-06-26T15:30:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-06-26T15:32:14.000Z (11 months ago)
- Last Synced: 2025-06-26T16:39:42.690Z (11 months ago)
- Topics: archunit, cucumber, hexagonal-architecture, jacoco, liquibase, rest-assured, spotless, spring-boot, testcontainers
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Hexagonal Architecture
A Hexagonal Architecture REST API Boilerplate built with Spring Boot 3
## โจ Features
* ๐ค Contract first API
* ๐ Spring MVC
* ๐ฉบ Actuator
* ๐๏ธ Data JPA
* ๐งฌ Liquibase
* ๐๏ธ ArchUnit
* ๐งช Rest Assured
* ๐ณ TestContainers
* ๐ฅ Cucumber
* ๐ Jacoco coverage
* ๐จ Spotless
* ๐ช Git pre-commit hook
## ๐ ๏ธ Commands
### ๐จ Format code
./mvnw spotless:apply
### ๐ Run
docker-compose up -d
./mvnw clean spring-boot:run
### โก๏ธ Run with samples data
./mvnw clean spring-boot:run -Dspring-boot.run.profiles=with-samples
### ๐งช Launch Tests
./mvnw clean test
### ๐ Coverage
./mvnw clean jacoco:report