Spring Boot
How to Structure your Code §1
Example https://docs.spring.io/spring-boot/reference/using/structuring-your-code.html
How to write html §2
First get familiar with HTML, then you can define your code using templates.
Example https://www.baeldung.com/spring-template-engines
Also https://dev.to/yosephtenaw/use-htmx-with-spring-boot-and-thymeleaf-18g9
Post / Forms §3
See the example in the Login view. Request parameters can be captured using the @RequestParam annotations.
Sessions §4
An example session https://www.geeksforgeeks.org/spring-boot-session-management
Dependency Injection §5
Debugging §6
Debugging Spring Boot applications can be frustrating, because we step into the proxy methods. To make it better insert the following patterns in to the stepping rules IntelliJ (§1).
org.springframework.*;
org.apache.*; Database §7
How to get started with databases https://www.baeldung.com/spring-boot-h2-database and https://www.geeksforgeeks.org/spring-boot-jdbc
Also see H2
Integration Test §8
You can write Integration Test in Spring Boot relatively easy. You can see the examples in the FordelApplicationTest class, as well as inspiration here.