- Java 8
- Spring Boot 2.1.6
- H2 Database
- Lombok
- JUnit 5
- Swagger
Build:
./gradlew clean build
Run tests only:
./gradlew clean test
Run the application:
./gradlew bootRun
Build:
./gradlew clean jibDockerBuild
Run application in Docker container:
docker run -p 8080:8080 kalah-game:1.0.0
Build:
./gradlew clean build
Run the application:
java -jar build/libs/kalah-game-1.0.0.jar
http://localhost:8080/swagger-ui.html
HTML test reports are generated under build/reports/tests/test
- Add optimistic locking mechanism with
@Version
,ETag
andIf-Match