Author: Sergio Lema
-

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.
-

Use Pagination to Speed Up Your API
In this article, I show the main steps to implement the pagination to optimize the response time of your API. I start by reproducing it locally, then, determine the sort order and page size, adapt the database queries, and finally adapt the frontend.
-

6 Tips To Keep Your Code Clean
In the following article, I list 6 tips that make a project clean. From correctly organizing the imports, the length of the methods, the utility classes and the naming convention.
-

5 Productivity Tips To Work From Home
In this article, I list 5 tips that I do to maintain a high level of productivity when working from home. Working from home become more usual, but companies don’t trust anymore the work from home. The thing is to know how to be constantly focused and avoid distractions.
