Category: Web
-

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

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

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

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

Optimize Your API Using Memoization
In this article I describe how to use the memoization to optimize the response time of a request. I explain how to prepare the code and how to apply the solution.
-

What Does My CI/CD Pipelines Look Like?
In the following article, I show how to build an effective CI/CD pipeline in GitlabCI. I show how to separate some steps depending on the branches. Which steps are mandatory and best practices.
