Gradle is a build tool for Java projects that turns the development workflow into executable tasks. In this application, the bootRun task starts the Spring Boot service and its PostgreSQL dependency through Testcontainers. section 2.3.1
The developer workflow is:
- Open a terminal inside Visual Studio Code. section 2.3.1
- Run the Gradle wrapper task to launch the application. section 2.3.1
- Let Testcontainers instantiate the PostgreSQL dependency at startup. section 2.3.1
- Send HTTP requests to verify that the running service responds. section 2.3.1
Start the appointments service
Run ./gradlew bootRun, wait for the application-started message, then test the service at the /appointments endpoint on port 8081. section 2.3.1
./gradlew bootRun
Use the Gradle wrapper command to start the Spring Boot application. section 2.3.1



