Creating a Spring Boot Project

Creating a Spring Boot Project

  1. Visit start.spring.io.

    Spring Initializr

  2. Choose the programming language and framework version:

    • For Project, select Gradle - Groovy.
    • For Language, choose Java.
    • For Spring Boot version, select 3.2.4.

    Project Metadata

  3. Configure Project Metadata:

    • Set Group to com.firstcloudjourney.
    • Set Artifact to productsservice.
    • Other fields will be automatically filled.
    • Choose Java version as 21.

    Project Metadata Configuration

  4. Add Dependencies:

    • Click ADD DEPENDENCIES to open a pop-up.
    • Add Spring Web and Spring Boot Actuator packages.

    Add Dependencies

  5. Generate the Spring Boot Project:

    • Click GENERATE to download the created project.

    Generate Project