A Spring Boot 3 project with Kotlin, Spring Boot 3, and Postgres (running in Docker compose).
Simply run the server with the command
./gradlew bootRun
The Postgres database (hosted in a Docker container) should automatically run.
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Boot DevTools
- Docker Compose Support
- Spring Web
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
These additional references should also help you: