Author: Panos

Containerize and automate the deployment of a 3-tier full-stack project
|

Containerize and automate the deployment of a 3-tier full-stack project

In this post, we explore how to containerize and automate the deployment of a 3-tier full-stack application using Docker Compose. The setup includes an Angular frontend served by NGINX, a Java Spring Boot backend, and a MariaDB database. By isolating each tier in its own container, we ensure flexibility, scalability, and ease of maintenance. Detailed steps cover the creation of Dockerfiles, setting up networks, and automating the deployment process, providing a robust and scalable solution for full-stack development.

Spring Boot: just 4 beans for implementing a default JDBC Authentication with SecurityFilterChain-based Configuration
|

Spring Boot: just 4 beans for implementing a default JDBC Authentication with SecurityFilterChain-based Configuration

This project is a pure REST API demo, exposing just a couple of protected endpoints. It is based on Java version 17, and the latest releases of Spring Boot 3.2.1 (announced on DECEMBER 19, 2023) and Spring Security 6.2.1 (announced on DECEMBER 21, 2023). It shows the 4 very basic beans required for the default JDBC-based Authentication for implementing a fundamental custom security configuration class based on the SecurityFilterChain. You can use it as a base repo for further customizations.