Latest Updates

Documenting code, one commit at a time.

English 10 posts
×

Taming Spring Boot's Exit: Ensuring Your Application Closes Gracefully

Ever found yourself staring at a terminal, wondering why your Spring Boot application just won't terminate? You hit Ctrl+C, but the process lingers, a digital ghost refusing to leave the system. This common developer frustration points to an often-overlooked aspect of application design: graceful shutdown.

In the kays-core-springboot project, a recent pull request addressed just such a

Read more

Avoiding NullPointers: Securing Your Spring API Updates with Path Variable IDs

When building robust APIs, especially with Spring, ensuring that your update operations reliably target the correct resource is paramount. A common pitfall that can lead to unexpected behavior or even NullPointerExceptions involves how resource identifiers are handled. We recently tackled such an issue within the kays-core-springboot project, addressing an update operation for user profiles.

Read more
React CSS

Streamlining UI: The Art of Correct Component-Layout Integration in React

Ever found yourself debugging a UI where components seem to fight for space, or a simple layout change turns into a cascade of unexpected shifts? It's a common frustration, especially as applications grow. The kays-react project recently tackled this head-on with a refactor aimed at ensuring components are implemented in the layout correctly, transforming chaotic UIs into predictable,

Read more
React CSS

Streamlining React Layouts: Integrating Navigation and Routes

In the kays-react project, we recently undertook a refactor aimed at enhancing the public-facing layout. The core idea was to make our routing logic more cohesive with our navigation components, specifically by implementing routes directly within the navigation component that resides in the public layout.

The Challenge

Traditionally, in many React applications, routes are often defined in

Read more

Sharpening Your Data Access Tests in Spring Boot

Developing robust applications often hinges on the reliability of your data layer. However, testing this critical component can sometimes be challenging, leading to either overly complex setups or, worse, insufficient coverage. For our work on the kays_springboot application, ensuring the integrity of data interactions is paramount.

The Pitfalls of Untargeted Database Tests

Read more

Refactoring for Clarity: The Power of Well-Organized Files

In the NT_SABADO2_migaja project, a recent refactoring effort focused on reorganizing project files. This seemingly simple task, often viewed as purely cosmetic, is a critical component of maintaining a healthy, scalable codebase. Like an architect designing a building, developers must consider the structure and organization of their project files to ensure long-term stability and ease of

Read more
Git

The Importance of Gitignore

In software development, maintaining a clean and efficient repository is crucial for collaboration and project stability. One of the most effective ways to achieve this is through the proper use of a .gitignore file.

What is .gitignore?

The .gitignore file is a text file in the root directory of a Git repository. It specifies intentionally untracked files that Git should ignore.

Read more