A simple test spring-boot application generated with spring initializr.
Three ways to start the application:
-
Open
Application.java
and click onRun
link above the main method. -
Once the application is running, you can access the Welcome page by navigating to the
Open Ports
tab and click on theOpen Browser
button for port 8080.
This application uses an embedded H2 database.
When the application is running, you can access the embedded H2 database via the following URL path: /h2-console
.
Use JDBC URL: jdbc:h2:./target/database/h2
Database changes are managed via Flyway. The following link provides additional details regarding Flyway Migration Concepts.
The database migration scripts are located in src/main/resources/db/migration
.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Boot DevTools
- Spring Configuration Processor
- Spring Web
- Spring Data JPA
- Flyway Migration
The following guides illustrate how to use some features concretely: