Author: Sergio Lema
-

My Problems with Flyway
How I’ve created a framework to solve the most common problems with the Flyway migrations. I must first identify the problem from the log files. Then apply the solution depending on the problem. It can go from a simple changeset rollback to stop the production.
-

Microservices vs Serverless
Microservices and Serverless Architectures, advantages and drawbacks. Microservices Architecture allows different teams to work on various services, but requires a deep understanding of network and service orchestration. Serverless Architecture allows for automatic scaling and load calibration, but can make database connections more complex.
-

Stop Using Null on Database Rows
Stop Using Null on Database Rows. In this article I show why it’s a bad idea, what problem I’ve encountered and what is the solution I used.
-

Protect your Spring Boot application with JWT
The article provides a comprehensive guide on how to protect a Spring Boot application using JWT and Spring Security. It offers a detailed explanation on various aspects, including adding dependencies, encoding passwords, creating login endpoints, JWT HTTP filtering, and configuring Spring Security. It also emphasizes the importance of having protected routes and a HTTP filter…
-

Implement the CRUD Operations in Angular
The article explains setting up CRUD operations in an Angular frontend for a vehicle management system, paired with a Spring Boot backend. The tutorial breaks down each CRUD operation: Read, Create, Delete, and Update, detailing how to display data using Material components, form creation for data upload, data deletion, and updating existing data. It also…
-

The Hardest Bug I’ve Faced
In this article, I will describe some of the worst bugs that happen in an application. Let’s start by splitting them into two main categories: those which I can reproduce on my laptop, and those I can’t reproduce on my laptop.
-

PostgreSQL’s Deadlocks
Have you ever faced a database deadlocks in Postgres? In this article, I will tell a story about the deadlocks, A Journey Through PostgreSQL’s Conundrums.
-

Create an Angular Project Connected to Spring Boot
I will create an Angular project to communicate with an existing Spring Boot Backend.
-

Create a RESTful CRUD Application with Spring Boot
In this article, I will show what are the main endpoint needed to have a CRUD application. I show how and explain to create those endpoints to be RESTful compliant.
-

Connect a Database to a Spring Boot Application
In this article, I will connect my Spring Boot Application to a PostgreSQL database. Adding the dependencies, configuring the application and creating the entities and repositories.
