
Set up the project environment by installing IntelliJ, Java JDK 11, and Maven. Maven manages dependencies, with IntelliJ installed via JetBrains ToolBox and JDK from Amazon Coretto.
Install Apache Maven by downloading the zip from maven.org, unzip to a memorable location, add the bin path to PATH, and verify with mvn -v (showing Maven 3.8.5).
Install the Java 11 JDK from the Amazon Corretto 11 download page, run the installer for Windows 64 or Mac OS, and verify success by typing java -version.
Install IntelliJ IDEA via the JetBrains Toolbox, choosing community or ultimate editions, and learn to install or update the IDE for a future Spring Boot project in IntelliJ.
Jump into the Spring Initializr to generate a Spring Boot project with Maven, Java 11, and jar packaging; add Spring Web, Spring Data JPA, and H2, then open in IntelliJ.
Explore the IntelliJ workspace for a Spring Boot project, review the Maven tab and dependencies like Spring Web and Spring Data JPA, and examine pom.xml and application.properties.
Explore Spring controller classes that handle requests and responses with class-level and endpoint method-level annotations, map verbs like GET, POST, PUT, PATCH, and DELETE, and test APIs with insomnia.
Implement a Spring Boot rest api by building an item controller with a post mapping to /api/item/create, using item and itemrequest models and returning a response entity.
Create an item service to encapsulate logic and inject it into the controller. Generate ids with a static counter and store items in a list.
Explore persistence with spring data jpa by modeling entity classes and repository interfaces, using annotations for entity and table mapping, and leveraging declarative create, read, update, delete, sorting, and pagination.
Build a Spring Boot rest api for item objects, handling create, find-all, and find-by-id via /api/item endpoints, with h2 persistence and maven dependency setup.
In this course, we will put together a Spring Boot RESTful web app and test it. We explore inversion of control through inline and constructor dependency injection and controllers, services, and how to implement persistence and execute queries using Spring Data JPA. We will test the app using the insomnia API client. Also, we emphasize and go through the correct use of the debugger. The IDE we are going to use is Intellij IDEA. Also, we provide the appropriate guidance for utilizing the maven build management tool. Finally, we use version control to commit and push the project to a GitHub repository. First, we will look at how to install Java, maven, and the Intellij IDE in our system. Then we will generate a Spring Boot app with the help of the Spring initializr web app and open it inside Intellij.
After explaining the role of maven and the pom.xml file for the application and how to add dependencies, we will start putting together a project that follows the model view controller architectural paradigm. After we create our first controller class and endpoint controller method and test it, we will create a service class within which we will move any application logic and then implement persistence with Spring Data JPA. Also, we are going to talk about the Lombok and Javax libraries.