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

Languages

English
64

Latest Updates

Documenting code, one commit at a time.

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.

Implementing Secure Role-Based Access Control in Sistema_electivos

Improving Access Control

In the Sistema_electivos project, we recently focused on strengthening our security posture by implementing a strict role-based access control (RBAC) system. Previously, view access was loosely managed, leading to potential unauthorized visibility of elective data. Additionally, we addressed a data retrieval bug that caused inconsistencies when fetching elective selections for students.

The Challenge: Context-Aware Security

Think of your application like a