Skip to main content

Prerequisites

Before starting the tutorial, ensure you have the following installed:
  • JDK 17 or higher
  • Maven or Gradle

Setting up your project

  1. Go to start.spring.io
  2. Select Maven or Gradle for Project
  3. Select Java for Language
  4. Choose the latest stable version of Spring Boot (3.x.x)
  5. Add the following dependencies:
    • Spring Web
    • Spring Data JPA
    • H2 Database
    • Lombok
    • Thymeleaf
  6. Download the project and open it in your IDE.