Category: Web
-

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

How to use React for a CRUD application
In this article, I show how to create the frontend of a CRUD application in React. I explain how to create the project and all the components necessary. The create, read, update and delete.
-

4 Ways to Protect Your Application From Being Hacked
In this article I describe 4 ways to secure an application to avoid 90% of the attacks. 4 simple ways to put in place in every kind of application. From using HTTPs to an external configuration system.
-

How to Solve a NullPointerException Correctly
In Java, one of the first exceptions everyone sees is the NullPointerException. Unfortunately, it took me some time to understand how to solve it correctly. In this article, I explain how to solve them correctly.
-

Advantages and Disadvantages of the JWT
A JSON Web Token (JWT) is widely used for stateless application authentication, but has limitations. It consists of three parts, including a signature for verification. However, it is susceptible to decryption, thus sensitive information like passwords should not be stored. Despite drawbacks, it offers a condensed JSON object and industry standard authentication. It’s important to…
-

Solve the CORS error with Spring Security
In this article I explain how to configure the CORS allowed frontend in a Spring Boot application when using Spring Security.
-

Authenticate Your Angular Application with JWT
In this article, I create an Angular application protected by JWT. I create a public component, private component and login component to show the different usages of each one. I use the JWT with the requests to my backend in the HTTP headers.
