Hello 👋

I'm Alejandro

A Web Engineer from Málaga, Spain based in London, UK

Blog

Mocking HTTP requests with Mock Service Worker

There is a lot of talk these days about if when you are testing your API integration you should be mocking your client (fetch/axios...etc.) or not. To answer your question, we want our tests to be as reliable as possible, so if they work…
Read →

Understanding NPM Scripts

Have you ever thought about creating your own command line tool? Well, here is your chance to create one for your project. What are NPM Scripts? NPM scripts is a simple solution to automate any repetitive tasks. For example, building your…
Read →

Using Google Spreadsheets as an API

Sometimes getting a small side project up and running is difficult. Building your own database, backend and frontend takes a lot of time. I'm going to show you how you can make this journey easier and faster with Google Spreadsheets and its…
Read →

Mocking a Server Error with cypress

When doing cypress end-to-end tests, it is very tempting to only be testing the happy path most of the time. The happy path, is the one we think users will follow , the ideal journey that will take a user from state A to B. But users…
Read →

CSS Box Model

When I do interviews for Frontend positions, I find myself very often asking the same question. Can you tell me what the CSS Box Model is? And most of the time, I get either a wrong answer or a very confusing one. I feel like CSS Box Model…
Read →
View all posts →