Author: Sergio Lema
-

Authenticate Your Spring Application With AWS Cognito
Recently, I needed to create an authentication system for one of my applications. But I need to create it quickly and securely. I may use a JWT with email and password, but people are lazy creating new passwords. So, I choose for a social Sign-In with AWS Cognito.
-

5 Tips to Maintain a Code Clean
In this article, I list 5 of the main points to keep a code clean. Organize the imports, use short methods, don’t use utility methods or classes, use a naming convention and use a code quality checker tool.
-

How To Create SSH Keys
In this article, I explain how to create SSH keys on Linux, MacOS and Windows, what are the main SSH keys types and how do they work in an SSH communication.
-

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…
