antonio ufano


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

Schedule scripts/tasks with Cron

Published on 2018-06-16

In one of my last projects I had a requirement to run a small PHP script two days a week at a certain time. In other projects I solved this requirement using ControlM, but for this project that wasn't an option so I had to search for an alternative which, to my surprise, was pretty easy to use and learn, already included in my hosting server and also included in my personal laptop. In case you didn't know already, I'm talking about Cron. ... 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

Guide to deploy Laravel 5 app to shared hosting (1and1)

Published on 2018-03-18

In this article I'm going to explain how to deploy a Laravel 5 application to a shared hosting using 1and1 as a reference. If you are using a different hosting provider some steps can be different, like the ones involving the control panel, but other should be pretty similar. Hope it helps you. ... 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.