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

0

Optimizing Data Persistence for Election Systems

Managing data integrity in election systems requires a robust approach to database schema design. While working on the preview-sistema-electivos project, I focused on refining how we handle structured electoral data. When dealing with relational databases like MySQL and MariaDB, the structure of your tables determines the efficiency of your queries during high-traffic events.

The Architecture of Trust

In an election management system, every vote or candidate record acts as a critical point

Streamlining MVC Architecture in Electivo-Laravel

Introduction

In the electivo-laravel project, we have been focusing on refining the application structure to follow the Model-View-Controller (MVC) pattern more effectively. By decoupling business logic from routing, we ensure the codebase remains maintainable as the project grows.

The MVC Approach

Think of the MVC pattern like a restaurant. The Model is the kitchen staff (data management), the View is the dining room (UI/UX), and the Controller is the waiter (handling requests and