Author: Sergio Lema
-

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

Feature Flags: Deploy Unstable Features
In this article I describe the features flags. I explain when I use them and how I use them in different situations. I explain the needed maintenance and the final clean up.
-

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

Security In The Cloud: 7 AWS Best Practices
In this article I describe 7 AWS best practices to ensure the security in the Cloud. I explain how to configure the VPCs, the IAMs and the naming strategy for any service.
-

Deploy A Spring Boot Application in AWS Lambda
In the article of today, I’m gonna explain how to deploy a Spring Boot application in AWS Lambda. I want to deploy a complete web application into a serverless platform. The difference is that I want to create several endpoints in my Spring Boot application. And I want to map them all to a single…
