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

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.

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.

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

Bootstrapping Modern Web Applications: Kickstarting Proyecto-FinanzApp.io

Starting a new project is often the most exciting part of the development lifecycle. Recently, I began working on Proyecto-FinanzApp.io, a new initiative focused on building a robust financial management application. My first step was setting up a solid foundation using React to ensure scalability and maintainability from day one.

The Initial Setup

When starting a fresh React application, the goal is to establish a project structure that minimizes boilerplate while maximizing developer

0

Building Responsive UI Foundations: Getting Started with Responsive Card

Building a consistent design system starts with the smallest unit: the component. In the responsive-card project, I am exploring how to create flexible UI containers that adapt to various viewports using standard web technologies.

The Goal

The objective is to establish a foundational structure for a card component that remains readable and visually appealing across mobile, tablet, and desktop devices. By focusing on a lean setup using HTML and CSS, we ensure minimal overhead while

Setting Up a Modern Web Development Environment with Vite and React

Getting Started

Starting a new project often feels like packing for a long trip—you need the right tools organized efficiently before you can move forward. In the jleiva22/proyecto-electivo project, we recently focused on establishing a robust development environment to ensure a smooth transition from configuration to coding.

Why Vite?

Think of Vite as the high-speed rail of the frontend world. Unlike older build tools that bundle your entire application before starting the server,

Enhancing UX: Refining Navigation and Mobile Layouts in Proyecto-FinanzApp

Improving Navigation Logic

Navigation is the backbone of user experience in any financial management tool. In the Proyecto-FinanzApp project, we recently completed a re-evaluation of our information architecture. By renaming our core navigational elements—shifting from 'Dashboard' to 'Home' and from 'Reportes' to 'Dashboard'—we have created a more intuitive mental model for our users.

This change aligns the application structure more closely with industry standard patterns, where the

Structuring MVC Patterns in Laravel: Moving Beyond the Basics

When starting a new project, it is easy to let your logic sprawl across files, leaving you with controllers that do too much and views that lack consistency. Recently, while working on the electivo-laravel project, I focused on enforcing a cleaner separation of concerns by standardizing our models, controllers, and views.

The Problem of Monolithic Controllers

In the early stages of development, it is tempting to dump database queries and business logic directly into controller methods.

Bootstrapping Modular Architecture with Angular and Expo

Getting Started with Sistema-Residencia

Starting a new project often feels like standing before a blank canvas. With the Sistema-Residencia project, our initial goal was to establish a robust foundation that could bridge the gap between web-based administrative panels and mobile accessibility. By utilizing Angular for our core services and Expo for cross-platform mobile capabilities, we are setting up a modular architecture that prioritizes developer experience and scalability.