
Explore how Spring Boot uses convention over configuration, with pre-configured settings and starter dependencies, and customize via properties or yaml, enabling a standalone web app with an embedded server.
Create a new Spring Boot project via the Spring Initializer, selecting Maven and Java, and generate post.zip; next, configure Java and IntelliJ to run locally.
Capture and log a unique request id from http headers in a spring boot app. Learn to inject HttpServletRequest, read header with getHeader, and log the id to trace requests.
Manipulate the response body and headers in Spring Boot using response entity to control http status. Build and return a body with headers including a unique id.
Refactor into a controller service repository pattern by adding an announcement service interface and implementation, then inject service into controller and implement find by id, find all, and save.
Learn how to manage database operations with Spring Boot using the transactional annotation from Jakarta transaction to ensure rollback on errors, keeping creates and related data consistent via Hibernate.
Explore inter-service communication with Spring Boot via REST APIs by building a second app that exposes a list endpoint and returns three commands, while refactoring the first app to announcements.
Learn how Spring Boot apps communicate over HTTP using RestTemplate and Feign client, with Feign offering a simpler, boilerplate-free approach for inter-service communication while RestTemplate remains widely used but aging.
In this part, I only scratch the surface when it comes to unit tests. If you want a deep dive into this matter, I invite you to follow my free course entitled "Guide to write meaningful unit tests". I added a link under "Resources".
Unlock the key to constructing modern Spring Boot applications with ease by following this short and concetrated course that puts emphasize on code structures that you are going to use 99% of times within a Spring Boot App!
Instead of losing many hours by following in-depth courses and then forgetting most of the information that you see there, you can get up to speed by seeing the skeleton structure that most of the modern applications use. Only then you can truly start to gain and understand in detail knowledge and add it on the top of this skeleton.
Gain a comprehensive overview of the entire app-building process without getting lost in complex details. Learn how different components fit together and understand the big picture before diving deep into specific aspects. Master the fundamentals and confidently navigate through Spring Boot framework.
This course presents the following topics:
Code Structuring Best Practices: In our course, you'll gain invaluable insights into code structuring techniques for modern apps, ensuring your projects are well-organized and maintainable.
Common Functionality Implementation: Discover how to efficiently implement common functionalities that will be used in 99% of your projects, saving you time and effort during development.
REST Endpoint Creation: Master the art of creating REST endpoints, enabling seamless communication between your application and clients for a smooth user experience.
Database Integration and Data Persistence: Learn the ins and outs of integrating databases and achieving reliable data persistence, allowing your app to securely store and retrieve information.
Robust Error Handling: Develop robust error handling strategies to gracefully handle unexpected situations and provide meaningful feedback to users, enhancing the stability and user-friendliness of your app.
Logging: Explore the power of logging to gain valuable insights into your application's behavior, troubleshoot issues, and improve overall system performance.
Service Communication with Feign Client: Learn how to facilitate communication between Spring Boot services using Feign Client, enabling seamless interaction and cooperation between different parts of your application.
Testing: Get a glimpse of the art of testing a Spring Boot app with both integration and unit tests.
Enroll in this course and equip yourself with essential skills to build modern, high-quality Spring Boot applications that meet industry standards and get insights into today's competitive market.
I put all my heart into creating this course. I'm sure that anyone who watches it will reap great benefits in the long run. It's always best to get the overview first, and only after that can you start zooming in on the details. That is why I believe this is the perfect course for the start of your journey.