|
@ -13,4 +13,32 @@ Disclaimer: how to use this but not going fully in details in this chapter. |
|
|
- Spring Boot |
|
|
- Spring Boot |
|
|
- Spring MVC |
|
|
- Spring MVC |
|
|
- Spring Data JPA (Hibernate) |
|
|
- Spring Data JPA (Hibernate) |
|
|
- H2 database |
|
|
- H2 database |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Spring Initializr |
|
|
|
|
|
|
|
|
|
|
|
Back in time you needed to create you own project with maven. Spring Initializr does this job for you (maven or gradle). |
|
|
|
|
|
|
|
|
|
|
|
https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot-starters |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a simple webapp with: https://start.spring.io/ |
|
|
|
|
|
|
|
|
|
|
|
- Spring Web (Spring mvc) |
|
|
|
|
|
- Spring Data JPA (abstraction for hibernate) |
|
|
|
|
|
- H2 Database (our in memory database) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Open the project in IntelliJ |
|
|
|
|
|
|
|
|
|
|
|
For a maven project: ***From Existing source > Select the pom.xml*** file at the root of the project |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Session 3 - 28/10/2022 - ended here |
|
|
|
|
|
|
|
|
|
|
|
<hr> |