Hi guys. So in this video, we will be learning how to create a spring boot project basic project
OK? So we will be referring to my blog which is study g.com
All the links will be in description so that you can refer it and you can gain some insight and you can use my code
actually, you can use my code. OK. So uh uh so let's create a springboard project
OK? So before that there is we need to set up our development environment
So we need to set up Java JDK like uh we need to install it Java JDK eight or later in my application
It is Java 17. OK. Then Apache me and uh ID E any ID visual studio or Intel anything
OK. Now, after that, we need to create a springboard project which we can use using spring initialize
website. OK? So if you click here, this website will be open with this data
OK? So we need to choose Maven Java the spring boot version and we need to add our group and artifact
Once you have filled this, you need to add your dependencies. So you can add it from here
we will be using spring web and let's generate. So once you generate
you will be finding one zip file in your downloads folder, you can unzip it and this is how your uh project
will look. OK? I have already opened this in my uh visual studio code
OK. And this is how my uh my project is looking. OK
My project application is looking. So let's create one controller in this as explained in the blog
So we need to create one rest input. So we will be creating one controller package and inside that we will be pasting this
code. OK? So let's copy. This will go in here and in my project
we will be creating one new file, sorry, new folder, sorry in
your new folder. And it will be named as controller. OK? And in this controller
we will be creating one java file. So the file name will be sample control
OK? So let's create that file, sample controller.gov
OK? And let's paste that code. OK? Once we page that quote
it's safe. So this is the API which we will be hitting and on API slash hello
we will be getting this response. OK? So let's do one thing
rerun this project. OK? So for running that it is maven when you need to install maven before this uh this is
the maven command spring boot run. OK? So in your term, you will be seeing how your ma will be like this project
will be running and uh your project will be running and it indication like your your project has been successfully completed
like successfully built and you need to go on local host 8 80 80 or something 8000 or 88
Yes, it is 88. So my application has been successfully running. OK
So if you see here, you can go on browser local host 8080
slash API slash hello. OK. So this is the response which we will be getting
OK. So this is how we can create a basic, simple uh springboard project in our applications
If you like, please like my video and please visit my blog which is study G links will be in description. Thank you