Latest Updates

Documenting code, one commit at a time.

Streamlining Data Operations with the Repository Pattern in Spring Boot

In the gianmdp03/points-system project, like many modern applications, managing data persistence efficiently and cleanly is crucial. As systems evolve, direct interaction with data sources can quickly lead to tightly coupled code, making future changes, testing, and scalability a significant headache. This is a common challenge for development teams.

The Challenge of Data Access

Read more

Streamlining Authentication: Integrating Supabase with Spring Security in the Points System

Introduction

The points-system project required a robust, scalable, and secure authentication mechanism to manage user access effectively. Building authentication from the ground up often involves significant development effort, security considerations, and ongoing maintenance. Our goal was to leverage a modern, external authentication provider to offload these complexities, allowing us to

Read more

Streamlining Company Data Management with Spring and the Repository Pattern

Introduction

In our points-system project, as functionality expands, the need to manage core business entities efficiently becomes paramount. Recently, we introduced robust capabilities for handling company-related data. This update, encapsulated in the "Add Company Methods" pull request, leverages Spring's powerful features and the well-established Repository Pattern to ensure our data

Read more
Java Hibernate

Safeguarding Your Domain: The Power of DTOs in a Points System

Look, directly exposing your Hibernate entities through APIs might seem convenient, but it's a shortcut that often leads to leaked implementation details, complex serialization, and tight coupling between your database schema and your external contract. In our recent work on the points-system project, we consciously moved away from this pattern by introducing dedicated Data Transfer Objects

Read more