This guide provides instructions on how to set up and run a Spring Boot application, execute tests, and additional notes.
Before you begin, ensure you have the following installed:
- Java Development Kit (JDK) 21 or higher
- Maven Wrapper (
mvnw
) included in the project
To run the Spring Boot application locally:
-
Open a terminal or command prompt.
-
Navigate to the root directory of your Spring Boot project.
-
Run the following command:
./mvnw spring-boot:run
To execute both Unit and Integration tests:
./mvnw clean verify
The clean phase clears the target directory. The verify phase compiles the source code and runs all tests.