We are going to look at how to get started with spring i.e. the go to java framwework on vs code. The aim is to guide developers used scripting languages how to get started with Spring.
requirements
First we need to install maven or gradle whichever works best for you. In this tutorial we’ll be using maven follow the link provided to install maven on your machine https://maven.apache.org/install.html
next step is to install spring initializr java Support plugin on vs code
next use Ctrl + Shift + P to open the vs code command pallete , select the Spring Initializr option.
The images shows the steps followed when generating the project. At this point the project will be generated into the selected folder.
now navigate to the folder on your terminal and run the following command
mvn spring-boot:run
and voilla the application is now running
Thank you!
#spring-boot #vscode #languages #java