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

Languages

English
64

Latest Updates

Documenting code, one commit at a time.

Improving User Experience: Managing Session Expiration in React

The Problem with Silent Logouts

There is nothing more frustrating for a user than filling out a complex form or reviewing data, only to have their session quietly expire. In our work on the Proyecto-FinanzApp.io project, we noticed that unauthorized API calls were leaving the UI in an inconsistent state, leading to broken modals and confused users.

To improve the reliability of our application, we decided to implement a proactive session management system that detects JWT expiration and

0

Streamlining Development Processes in Prueba-Andes-Airlines-Bsale

In software development, maintaining a clean and iterative workflow is essential. While working on the Prueba-Andes-Airlines-Bsale project, we focused on refining our repository practices to ensure that updates are handled efficiently. This post covers the importance of maintaining granular updates and keeping the codebase organized during active development cycles.

The Workflow Challenge

Often, during rapid feature development, commit messages and changes can become cluttered.

0

Fixing API Data Integrity in Proyecto-FinanzApp.io

The Challenge: Disappearing Subcategories

Maintaining a clean data hierarchy is essential for any financial tracking application. Recently, in Proyecto-FinanzApp.io, we encountered a frustrating bug where specific subcategory endpoints were failing to return data, breaking the user's ability to categorize their expenses effectively.

Like a filing cabinet with a stuck drawer, the system knew the data was there, but the retrieval mechanism was failing.

0

Streamlining Dependency Management in Proyecto-FinanzApp.io

The Problem

In any growing application, maintaining a clean and efficient dependency manifest is crucial. Recently, while working on the Proyecto-FinanzApp.io project, we noticed that our package management file had become cluttered. Over time, as features were added and development cycles progressed, tracking versions and ensuring package compatibility became increasingly difficult, leading to potential bloat and build inconsistencies.

The Approach

We decided to audit our project

Optimizing Financial Logic: Shifting Calculations to the Backend

Moving logic from the frontend to the backend is often the first step toward a more secure and performant application. Recently, in the Proyecto-FinanzApp.io project, we transitioned our financial filtering and calculation engine from the client-side to our Express-based API.

The Problem: Client-Side Bloat

Previously, our React frontend was responsible for performing complex array manipulations to filter income and expense records and calculate running totals.

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

0

Optimizing Production Entry Points in Node.js Applications

In any web-based project, the bridge between development and production is often defined by how your environment starts your service. Recently, while working on the Proyecto-FinanzApp.io project, we refined how the application identifies its entry point within the package configuration to ensure a seamless deployment cycle.

The Role of the Entry Point

When deploying a Node.js application, the runtime needs to know exactly which file acts as the primary orchestrator.

Scaling Financial Applications: Architecting the Foundation of Proyecto-FinanzApp.io

The Foundation of Financial Management

Building a robust financial tracking application requires more than just a functional UI; it demands a scalable architecture that can handle data consistency and secure user state management. The Proyecto-FinanzApp.io project is currently transitioning from a functional prototype into a comprehensive financial suite, focusing on building a reliable bridge between user interactions and backend services.

Establishing the Data Layer

0

Optimizing Data Consistency: Fixing API Subcategory Endpoints

The Problem

In our ongoing development of Proyecto-FinanzApp.io, we recently encountered an issue with our subcategory endpoint. As our application scales, maintaining precise data communication between the client and our backend services is critical for accurate financial reporting. A mismatch in expected payload structures had introduced inconsistencies, leading to silent failures during subcategory updates.

The Technical Fix

To address this, we audited our Axios service layer to

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