Configuring CORS with Spring Boot and Spring Security


Intro In this tutorial, we are configuring cross-origin resource sharing (aka. CORS) with Spring Boot and Spring Security. 🍿 Watch on YouTube or get the code from GitHub …

Validating API Requests with Bean Validation and Spring Boot


Intro In this tutorial I’ll demo how to use Spring Boot and Bean Validation to validate API requests. 🍿 Watch on YouTube or get the code from GitHub …

Let's Build a URL Shortener with Spring Boot


Intro In this tutorial we are building a URL shortener, used to shrink large URLs into smaller versions that can easily be shared. 🍿 Watch on YouTube or get the code from GitHub …

Getting Started with Flyway and Spring Boot


Intro In this tutorial, I am using Flyway to evolve a database with individual migrations using SQL scripts and code. 🍿 Watch on YouTube or get the code from GitHub …

Getting Started with Caching in Spring Boot


Intro Here is a short tutorial on getting started with Caching in Spring Boot. 🍿 Watch on YouTube or get the code from GitHub …

Handle Application Events with Spring Boot


Intro Here is an intro to using Spring application events - publishing and listening for them based on specific conditions. 🍿 Watch on YouTube or get the code from GitHub …

How to Intercept HTTP(S) Requests with Spring Boot and mitmproxy


Intro In this tutorial, I’ll demo how to set up a Spring Boot application that uses a proxy connection to mitmproxy. This allows intercepting and inspecting HTTP requests. The approach works with RestTemplate and WebClient. Check out mitmproxy at https://mitmproxy.org/ and the Cat Facts API at https://alexwohlbruck.github.io/cat-facts/docs/ 🍿 Watch on YouTube or get the code from GitHub …

Distributed Scheduling with JobRunr and Spring Boot


Intro A quick introduction to the JobRunr distributed scheduler - if you have been using Quartz until now, JobRunr is definitely worth a look. 🍿 Watch on YouTube or get the code from GitHub …

Testing Async Methods in Spring Boot


Intro In this tutorial I’m showing you how you can disable concurrent execution of async methods during your tests so these run in a linear fashion. 🍿 Watch on YouTube or get the code from GitHub …

How to Clean Your Database in Between JUnit 5 Tests with Spring Boot


Intro In this tutorial, I’ll demo how to clean up your database between JUnit tests. As usual, I’ll be using Spring Boot and Kotlin and make use of JUnit 5 to register a custom extension. This extension will directly access the underlying data source (a Postgres database) to execute native queries 🍿 Watch on YouTube or get the code from GitHub …

The Dead Letter Queue

Love what you're seeing? By subscribing to my newsletter, not only will you be the first to know about fresh tutorials and videos, but you'll also unlock:

Subscribe now and become a part of our growing tech tribe!