Database Migration with Flyway
The Problem — Why ddl-auto=update is Dangerous in Production Since Lecture 5, we have been using this configuration: This tells […]
The Problem — Why ddl-auto=update is Dangerous in Production Since Lecture 5, we have been using this configuration: This tells […]
Layered Architecture — Controller → Service → Repository We have been using the layered architecture since Lecture 2, but we […]
Why Not Expose Entities Directly? The DTO Pattern Throughout Lectures 5–7, we returned JPA entities directly from our REST controllers. […]
Relationship Types in Relational Databases In the real world, data is connected. A user writes posts. A post has comments. […]
Repository Pattern Deep Dive What is the Repository Pattern? The Repository pattern is a design pattern that abstracts data access […]
The Problem — Why Not Write Raw SQL in Java? In Lecture 4, you wrote SQL directly in the MariaDB shell. That […]
1. Why a Relational Database? SQL Refresher The Problem with In-Memory Storage In Lectures 2 and 3, we stored data […]
1. What is REST? Principles and Constraints In Lecture 1, we briefly mentioned REST APIs. Now let us dive deeper […]
Recap — From Java main() to a Running Web Server In Lecture 1, we created a Spring Boot application with […]
How the Web Works — HTTP Request/Response Cycle Before writing a single line of Spring Boot code, you need to […]