Code

How to vibe code an eCommerce API - Part 2: Base architecture

Welcome to the second part of my series on vibe-coding an eCommerce API! In this series, I’ll walk you through the process of designing and implementing a robust, scalable API for an eCommerce platform. You can find the first introductory part here.

I am a Javascript developer, and I have a personal list of tools I want to use in this portfolio project: tsyringe for DI, jest for unit testing, MySQL and MongoDB for the databases (yes, I will showcase both).

Continue reading

How to vibe code an eCommerce API - Part 1: Introduction

Welcome to the first part of my series on vibe-coding an eCommerce API! In this series, I’ll walk you through the process of designing and implementing a robust, scalable API for an eCommerce platform. All this while using an AI-powered IDE (I personally used Jetbrains Junie, but you can get similar results with any other AI Assistant). AI Assistants are really powerful tools, and like any other tool they are not responsible for what they do, we, the developers, are.

Continue reading

How I connected my Namecheap domain to Gitlab pages

After some struggle, (their docs are not easy) I succeeded to connect my domain bought on Namecheap, lesauf.com, to my website on gitlab pages.

I actually created two customs domains on Gitlab Pages (“Settings” -> “Pages”): lesauf.com and www.lesauf.com.

Here is my configuration in the “Advanced DNS section on Namecheap that made the verification on Gitlab pages work :

  1. Delete all the default records set by Namecheap;
  2. Add an “A” record pointing to 35.185.44.232 (as per Gitlab instructions);
  3. Add a “TXT” Record pointing to gitlab-pages-verification-code=… with the host as _gitlab-pages-verification-code;
  4. Add a “TXT” Record pointing to gitlab-pages-verification-code=… with the host as _gitlab-pages-verification-code.www. This one is for the www subdomain;

Here is a screenshot : My Namecheap setup for Gitlab pages

Continue reading

Why I went static for my site

Or why as coder I finally decided to code my website

For about one year I were a Zenfolio customer, and I have not much complain about their service (and their support), except their big visible logo on top-right corner of my website. I really liked their many available templates and their online DAM to handle my images naming, tagging and organization. This way I thought I could more focus on my pictures. But their so much visible logo on my pages kept bugging me …

Continue reading