Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
63

Latest Updates

Documenting code, one commit at a time.

JavaScript 10 posts
×

Optimizing Cross-Origin Resource Sharing for Modern Deployments

The Challenge

In the to-do-backend project, we recently encountered challenges when deploying our application to cloud platforms like Vercel. As our frontend and backend services began to live on distinct origins, our existing Cross-Origin Resource Sharing (CORS) configuration proved too restrictive. This caused blocked network requests and frustrated users trying to access their task lists.

Securing Cross-Origin Communication in Node.js Services

Forgetting to configure your Cross-Origin Resource Sharing (CORS) policies is the quickest way to break your frontend-to-backend pipeline. It is a common frustration: your backend is live, your frontend is deployed, but the browser blocks every request due to a mismatch in origins.

Working on the antonioReynaldo/to-do-backend project, I recently had to address this by explicitly allowing

0 Vercel JavaScript

Solving SPA Routing Issues: Configuring Vercel for Frontend Applications

When deploying modern frontend applications, one of the most common hurdles is ensuring that client-side routing works seamlessly in a production environment. I recently addressed this while working on the to-do-frontend project.

The Situation

Like many single-page applications (SPAs), the to-do-frontend relies on client-side routing to manage navigation without full page reloads.

Bridging the Gap: Moving to Production-Ready Database Connections

Transitioning a development environment to a production-ready state is often where developers encounter the most friction. Recently, while working on the antonio-reynaldo/to-do-backend project, the focus shifted toward hardening our database connectivity for live deployment.

The Configuration Pivot

Moving from local environment variables to production-grade database settings is more than

0 React JavaScript

Bringing UI to Life: Implementing Scroll Animations in React

Elevating User Experience

Static interfaces can often feel detached from the user. We recently enhanced the user experience in the static-web-ecomerce-eshop project by integrating scroll-based animations. Adding subtle motion as users explore products creates a sense of depth and responsiveness that guides the eye through the store.

The Implementation Strategy

To achieve smooth,

0 JavaScript Node.js

Optimizing Port Configuration for Node.js Deployments

Deploying a Node.js application to modern cloud hosting platforms like Render requires careful attention to how your service listens for incoming requests. When working on the antonioReynaldo/to-do-backend project, a common configuration challenge arises: relying on hardcoded ports versus using dynamic environmental variables.

The Problem with Static Ports

Many developers start with `app.

0 React JavaScript

Scaling UI: Building Reusable Category and Service Components

In modern e-commerce development, consistency is the key to maintaining a clean storefront. As we continue building out the 'static-web-ecomerce-eshop' project, we hit a point where our navigation and service summaries were becoming fragmented, leading to repetitive code across different pages.

The Problem

Our codebase was suffering from "div soup" whenever we needed to render a service

Bootstrapping a Modern E-commerce Frontend: The Foundation

Building the Base

Starting a new project is always an exercise in balancing performance, developer experience, and maintainability. Recently, I began working on static-web-ecomerce-eshop, a project aimed at creating a performant, static-first e-commerce experience. The goal was to establish a robust foundation that leverages modern tooling to ensure high delivery speeds and a maintainable

Bootstrapping Modern Web Architecture: Building the antonioReynaldo/ecommerce-website

Getting Started

We have officially kicked off the antonioReynaldo/ecommerce-website project. This initial phase focuses on establishing a robust foundation for a scalable e-commerce platform. By leveraging a modern tech stack, we are setting the stage for long-term maintainability and high performance.

The Architectural Foundation

For this project, we are adopting a modular approach.

Kicking Off Development: Setting Up the Mother Day Card Project

The Project Start

Starting a new project often involves establishing the foundational structure for a web application. We have begun working on the mother-day-card project, a web-based initiative focused on creating interactive greeting cards. The initial commit marks the baseline for the application's structure, focusing on the core web triad: HTML, JavaScript, and CSS.