Wednesday, 26 August 2020

How to create a spring boot project easily using start.spring.io

Firstly, Spring Boot Project is easily created using start.spring.io 

Step 1: visit start.spring.io 


Step 2: choose the language, for instance, JAVA 

Step 3: choose the spring boot version, for example, 2.3.3 

Step 4: Enter the project metadata like 

  Group - com.xyz (xyz company keeps all its projects under this group, just like org.springframework, used in maven or gradle prokject build file) 

  Artifact - Patient-Management (used in the maven or gradle project artifact, creates jar/war with this name) 

  Name - Patient-Management (name can be same as Artifact, this is used internally folder name)

  Description - enter some text about your project 

  Package Name - com.xyz.abc (creates a java package with this name) 

  Packaging - select either jar or war (Mostly, spring boot projects take jar, so default jar is selected)

Step 5: choose the suitable Java Version 

Step 6: Search and add the required dependencies ( these dependencies are automatically added in your build.xml or pom.xml) 

Step 7: Click on Generate button or key in (CTRL+ENTER)