Year: 2022

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.

Step ahead fast, with NestJS environment configuration
|

Step ahead fast, with NestJS environment configuration

NestJS provides the necessary documentation for working with different environments (development, production, etc.) using external configuration files and environment variables. So, if you have already taken a look there, then the below provided cases, will give you a hand to start implementing your (relatively simple) project as well.