From a3547f6af2f0a281a309fa41415c3f90196a319c Mon Sep 17 00:00:00 2001 From: "arthur.dambrine" Date: Fri, 28 Oct 2022 17:10:44 +0200 Subject: [PATCH] session 3 spring initializr --- unit2_building_spring_boot_webapp.md | 30 +++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/unit2_building_spring_boot_webapp.md b/unit2_building_spring_boot_webapp.md index f8e087a..538e84d 100644 --- a/unit2_building_spring_boot_webapp.md +++ b/unit2_building_spring_boot_webapp.md @@ -13,4 +13,32 @@ Disclaimer: how to use this but not going fully in details in this chapter. - Spring Boot - Spring MVC - Spring Data JPA (Hibernate) -- H2 database \ No newline at end of file +- 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 + +
\ No newline at end of file