15 02 2019
Angular JavaScript TypeScript 5 min read

Part 8. Clock-in/out System: Deploy frontend (Angular 6+) using environments

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…

08 02 2019
JavaScript NodeJS TypeScript 5 min read

Understanding JavaScript/TypeScript Memoization

What means Memoization? The definintion of memoization from the wikipedia is the following: In computing, memoization or memoisation is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the s…

01 02 2019
NestJS TypeScript NodeJS 5 min read

Part 7. Deploy Backend (NestJS): Docker/Docker-Compose

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…

25 01 2019
ZExtra 6 min read

Backup automated using rdiff-backup

Introduction One day your blog, code or pretty much anything may crash, and sadly, your most valuable information could be irredeemably lost ! Consider the consequences if this ever happens (touch wood!). Pictured them? Scary, right? Now, just imagine how relaxed you would have been instead, if only…

18 01 2019
Angular TypeScript 12 min read

Part 6. Clock-in/out System: Basic frontend

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…

11 01 2019
JavaScript 11 min read

Refactoring a video player using reveal module and command pattern in JS

Today, I'm going to show a basic code in which a video player is done using a few good practices to develop code in the present days in the JavaScript language. My intention is show step to step the process from the original code to the finish code using several classic patterns such as Reveal Modul…

28 12 2018
JavaScript 6 min read

Refactoring a real-case

As a result of publishing the series of post of the clock-in/out system, I had the need to write a function to import the data from a large XLS file to a Postgres database using the ORM (TypeORM).This function was written quickly as a script without thinking too much about the quality of the code, b…

21 12 2018
6 min read

Part 5. Clock-in/out System: Seed Database and migration data

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…

14 12 2018
2 min read

Part 4. Clock-in/out System: Basic backend (III) - AppModule

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…

03 12 2018
7 min read

Part 3. Clock-in/out System: Basic backend (II) - UsersModule

This post is part of a Series of post which I'm describing a clock-in/out system if you want to read more you can read the following posts:Part 1. Clock-in/out System: Diagram.Part 2. Clock-in/out System: Basic backend - AuthModule.Part 3. Clock-in/out System: Basic backend - UsersModule.Part 4. Clo…