Latest Updates

Documenting code, one commit at a time.

JavaScript 10 posts
×
JavaScript Axios

Streamlining API Calls: The Power of Axios Instances and Middleware

In the AplicacionJoyeria project, ensuring robust and consistent interaction with our backend APIs is paramount. We recently implemented a significant improvement in how we manage these interactions, focusing on maintainability and error handling.

The Situation

Before this update, our application's API calls might have been scattered, leading to repetitive code for common tasks such as

Read more

Seamless Shopping: Integrating a Cart into React with Redux

The 'AplicacionJoyeria' project, an e-commerce platform specializing in jewelry, recently completed a significant enhancement: the seamless integration of a shopping cart into its React application. This feature is fundamental to any e-commerce experience, allowing users to collect items before purchase, and its implementation requires careful consideration of state management and user experience.

Read more

Crafting a Seamless Login Experience with React, Vite, and Tailwind CSS

Authentication is the gateway to any secure application, and ensuring a smooth, intuitive login experience is paramount. For the AplicacionJoyeria project, we recently streamlined our user access by developing a robust login system. This post dives into how we leveraged modern web technologies like React for dynamic UI, Vite for a blazing-fast development experience, and Tailwind CSS for rapid

Read more

Building Dynamic Pages with Astro: A Case Study from Balconeria Omar

For many web projects, the journey begins with a few foundational pages. But as a project matures, the need to showcase dynamic, rich content quickly emerges. This was precisely the challenge faced by the Balconeria Omar project: how to introduce a dedicated "Galeria" page to display their diverse portfolio of balcony solutions without over-complicating the existing architecture.

Read more

Mastering Base URLs in Astro: A Fix for Deployment Flexibility

Working on the balconeria-omar project, we recently tackled a common but crucial challenge in web development: ensuring our application's routing works flawlessly when deployed to a subpath rather than the root domain. This often comes up when staging environments or monorepos require a project to live under a URL like example.com/balconeria-omar/.

The Base URL Challenge

Read more

Taming the Navbar: A 'balconeria-omar' UI Refinement in Astro

The balconeria-omar project recently tackled a persistent challenge: refining its navigation bar. This critical UI element, often underestimated, was causing subtle inconsistencies and user experience glitches, proving to be a stubborn fix. The effort was focused on bringing stability and reliability to a core part of the user interface.

The Problem

Navigation bars, while seemingly simple,

Read more

Crafting a Seamless Services Page with Astro

Building a new page on an existing website can often feel like a complex puzzle, especially when aiming for performance and maintainability. For the balconeria-omar project, the recent addition of a dedicated 'Services' page presented an opportunity to leverage Astro's strengths for static content generation and component-based design.

The Situation

Previously, information about

Read more