Angular Router Hooks: Guards

In this post we’re going to see how we can protect some views or components. The use case is very simple: building a login component and if the credentials (user and password) are right, go to a protected view. You...

Angular: Routing Basics

If you are new in this kind of frameworks “SPA oriented” or you’re used to build server-side applications, you have to keep in mind that a navigation action doesn’t have to be a request to the server. Actually, in a...

REST API: Error handling

One of the most important thing when you’re designing an API is how it’s going to handle errors and how will be the content and the status of the responses that it’s going to send to its clients Basically, there...

My first post

This is my first post. I’m so excited because I’m moving from my old blog in Wordpress to this blog using Jekyll. Besides that, I’m going to write every post in English although, the final idea, is building a multi-language...