Author: Sergio Lema
-

Code Review Tips
In the following post, I’ve written an extended list of all the items I check when I read a Merge Request.
-

Where To Write Documentation
I can use Word file, a private Wiki or write the documentation into comments inside the code base. Which one is the best? What are the advantages and disadvantages of each documentation? In this post, I explain 3 types of documentation, with their advantages and disadvantages.
-

When It’s Time To Refactor
Refactoring the code means review the existing code, extract duplicated code and remove unused features. This operation is never accepted by product owners, as it doesn’t produce any new feature. But refactoring the code base allows the developers to add more features faster. In the following post, I’m listing 3 metrics that must trigger a…
-

Custom domain For Backend And Frontend In AWS
In this article, I describe how to configure AWS CloudFront to use a custom domain name for my distributions.
-

The 5 Keys to Effective RESTful API Design
A RESTful communication is about standards, naming strategies and readability. In this article, I list 5 points to build an RESTful compliant application. I talk about the HTTP verbs, the nouns used, hierarchy, how to use verbs in the URL and the HTTP response code.
-

Router and React Application in AWS S3
In this article, I describe how to solve the problem when using React Router in a deployed application in AWS S3. To solve this situation, I need to configure AWS CloudFront with redirections in the error pages.
-

Which HTTP Response Code to Use?
I have the HTTP verbs and URL that define the request. And I have the HTTP response code that defines my response. All the parts of a request must be clear and understandable. The most used one is 200, which means Ok. However there are other important HTTP response codes for different situations. In this…
-

OAuth2 With Google, Spring Boot And Angular
In this article, I describe how to create the Google OAuth2 client, how to connect Spring Security to Google OAuth2 workflow, and have a React frontend to communicate with my Spring Boot application.
-

Which HTTP Verb to Use?
There are many HTTP verbs. All have a different meaning and usage. Not using the adequate verb makes the API harder to read and understand. In this article, I describe the main HTTP verbs to use in a regular RESTful application.
-

3 Ways To Store Passwords Securely
In the following article, I describe 3 ways to store passwords securely. I describe how to store passwords managed by users, by API and by systems.
