MongoDB

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.

The database command-line tools you can add to your dev environment without database installation
| | | | | |

The database command-line tools you can add to your dev environment without database installation

This post is about the command-line tools that are officially supported by the major databases. Each one of those tools is shipped as part of the corresponding database installation package. However, here will see how we can obtain and install them as a stand-alone-tools, without the respective database installation.

MongoDB schema validation rules

MongoDB schema validation rules

MongoDB is a very popular free and open-source cross-platform document-oriented database. It is a NoSQL database and it is based on JSON-like documents. Document-based databases are either schema-less or they provide a certain level of flexibility defining schemas using schema validation rules.
The purpose of this post is to demonstrate how we can apply some schema validation rules in a collection.