antonio ufano


coding articles

Understanding OAuth2 authentication to use Google APIs

Published on 2019-05-12

Up until now I've never had the need to use any of the Google API's but recently I needed to get the information of all the flights I had taken in the last five years and, although I have the information of those in my Google Calendar, the app doesn't allowed me to extract it so that was the perfect opportunity to dig into how Google API's work. After a quick research in the Calendar API documentation, my plan was to build a small command line application in Node.js that would: ... Read more

Adding reCaptcha to a Laravel form

Published on 2019-03-11

One of the most annoying things of having a form in a website is seeing it being targeted by spam bots. In this article I'm going to explain how to get rid of them (or at least most of them...) by integrating Google's reCaptcha in our form. ... Read more

NPM behind the scenes and publish guide

Published on 2018-11-15

Lately I've found myself in a situation when I have to reuse some of my code in different projects and I've ended up just copy pasting functions or entire files from one project to another. This is not very practical as I have to browse between projects and it always takes a while until I found what I'm looking for. Luckily NPM is here to help as we can use it to publish and install reusable pieces of code (packages). In this article I'll explain how NPM woks behind the scenes, and the different ways to publish your own JS modules so you can reuse them in other projects or just share them. ... Read more

Building a JavaScript JWT auth system using TDD (part 2)

Published on 2018-11-07

This is the second part of this series about building a JavaScript authentication system using TDD. In the first part we created an Express app that exposed two endpoints for registering new users (with some validations) and login in. As we didn't sore the user details in a database, we were not able to implement a proper login validation so that's what we'll do in this article. Let's go! ... Read more

Building a JavaScript JWT auth system using TDD (part 1)

Published on 2018-10-01

Every time I want to learn a new programming language or framework I try do a couple of basic apps, like a to do list and then move to something I can reuse in future projects, like a user registration and authentication system. In this article I'll explain how to create an authentication system in JavaScript with an API (built with Express) that uses Json Web Tokens (JWT). In addition, I'll be following a Test Driven Develoment approach using a Mocha as a test framework and Chai as the assertion library.  ... Read more

coding laravel personal vue.js API machine learning blockchain javascript Node.js tooling linux

About me

My name is Antonio, I'm from Zamora (Spain) currently living in London and working as a freelance developer.
If you want to receive notifications of new articles from this web, and interesting articles and news I find online, enter your details below.
I'll never share your email with anyone else and promise I'll not spam you.