An implementation of DevZone API using Spring Boot.
- Kotlin
- Spring Boot
- Spring Security
- Spring JdbcClient
- Postgres
- Gradle Kotlin DSL
- Testcontainers
- Docker Compose
- JDK 21
- Docker and Docker Compose
Install JDK using SDKMAN
$ curl -s "https://get.sdkman.io" | bash
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
$ sdk install java 21.0.1-tem
$ sdk install gradle
- Run tests:
./gradlew test
- Format code:
./gradlew spotlessApply
- Run application using Docker Compose:
./gradlew bootRun
- Run application using Testcontainers:
./gradlew bootTestRun