This is an example project that illustrates creating a RESTful API in Spring Boot.
Create an application.properties
file for your application
cp src/main/resources/example.properties src/main/resources/application.properties
Run the application with the command below
mvn spring-boot:run
You can try the API, via Swagger, by visiting the following URL:
http://localhost:8080/swagger-ui.html
The H2
console is enabled by default in the application.properties
file.
You can check the database tables by visiting:
http://localhost:8080/h2-console
The JDBC URL is mem:testdb
Released under the BSD-3-Clause.