For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Data JPA
- Rest Repositories
- Thymeleaf
The following guides illustrate how to use some features concretely:
- Accessing data with MySQL
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Accessing Data with JPA
- Accessing JPA Data with REST
- Accessing Neo4j Data with REST
- Accessing MongoDB Data with REST
- Handling Form Submission
create database rentapp_db; -- Creates the new database
create user 'springuser'@'%' identified by '5DCm4pTweKaF5'; -- Creates the user
grant all on rentapp_db.* to 'springuser'@'%'; -- Gives all privileges to the new user on the newly created database
curl localhost:8080/demo/addResident -d firstName=Demar -d lastName=DeRozan -d email=kingofthefourt@buckets.com -d mobilePhone=312-555-1234
curl localhost:8080/demo/addLandlord -d firstName=Lebron -d lastName=James -d email=ohiokid@nba.com -d mobilePhone=312-555-5678
curl -X POST "localhost:8080/demo/updateResidentEmail?recordId=1&email=demo@bulls.com"
curl -X POST "localhost:8080/demo/updateLandlordEmail?recordId=1&email=demo@bulls.com"