J José Leiva
Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
64

Latest Updates

Documenting code, one commit at a time.

Optimizing Data Relationships in the Prueba-Andes-Airlines-Bsale Project

In the Prueba-Andes-Airlines-Bsale project, we recently focused on strengthening our data layer by formalizing model associations and enhancing our API's query capabilities. Managing complex data structures often feels like organizing a massive library: without a proper index or defined cataloging system, finding specific information—like a single flight record—becomes an exhausting task.

Strengthening Data Integrity

To ensure our application maintains reliable data consistency, we

Bootstraping Scalable Architecture with Sequelize and Express

Setting the Foundation

When starting a new project like Prueba-Andes-Airlines-Bsale, the initial architectural decisions dictate the long-term maintainability of the codebase. Our goal was to build a robust backend foundation using a combination of Express and Sequelize, ensuring that our data models remain consistent regardless of the underlying database engine.

By leveraging an Object-Relational Mapper (ORM), we abstract away the specific syntax of SQL dialects, allowing our

Precision Matters: Handling Monetary Values and Recurring Logic in FinanzApp.io

Floating point arithmetic is the classic trap of financial applications. Recently, while working on Proyecto-FinanzApp.io, we encountered inaccuracies in monetary conversions that highlighted a critical need for stricter data handling.

The Problem with Decimals

When calculating financial values, relying on standard decimal types in a database can lead to rounding errors that compound over time. In a system like FinanzApp.io, even a fractional cent can create significant discrepancies in

Streamlining Financial Data: Deleting Recurring Expenses in Proyecto-FinanzApp.io

Managing personal finances requires precision, especially when it comes to recurring obligations. In the Proyecto-FinanzApp.io platform, users often find themselves needing to update their budget views as subscriptions end or spending habits shift. We recently implemented a clean, efficient way to remove these recurring expenses from the system.

The Challenge

Previously, removing a recurring expense was a multi-step friction point. The backend logic needed to ensure that deleting an entry

Simplifying Form State Management in React Finance Apps

Handling complex form submissions in financial applications can quickly lead to state management overhead. Recently, while working on the Proyecto-FinanzApp.io, we encountered challenges with synchronizing category and subcategory selections alongside account IDs during transaction logging.

The Complexity of Linked State

When you have multiple dependent fields—like a category that dictates available subcategories—using local state can become brittle.