antonio ufano


API articles

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

Consuming your Laravel API with JavaScript

Published on 2018-05-03

In one of my recent projects I decided I wanted to build a completely new front end, going from multiple pages to a single page application built with Vue.js. My multi pages web app was using different controllers to handle different requests for each resource and, to be honest, was a little messy (duplicated code in different controllers, very similar methods that do similar actions...). Building a SPA meant that I'd have to create an API to handle all the requests so this was a perfect opportunity to do a cleanup and organise my controllers and methods. ... Read more

Vue.js and REST API coding quick tips

Published on 2018-04-08

I've spent the last couple of weeks building web applications using Laravel APIs in the back end and Vue.js in the front end. I really like this combination as with Laravel you can build APIs very quick, it manages user authentication from scratch and generates oauth tokens for API requests with Passport, which is included by default. ... Read more

Guide to build web app with authentication and REST API with token authentication

Published on 2018-04-29

In this article I'm going to explain how to create a simple web application to create tasks with the authentication included in Laravel. Then we'll create an API that will manage access tokens and expose some of the functionalities and finally test the API with Postman. If you do are not familiar with Laravel, you can check my previous article about how to set up a development environment. All the code of this article is available to download in the following GIT repository. Let's dig into it! ... Read more

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

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.