Introduction to MongoDB
MongoDB is a NoSQL database that allows us to store data in other formats such as object, document, graph other than tabular relations using relational databases. As it is designed for horizontal scaling, NoSQL is increasingly used in applications that handle a huge volume of data, and real-time analytics.
Personally, I am using MongoDB out of interest, to learn a new technology and apply it to in my own side project. Like others, I followed tutorials and courses which used mongoose, a Object Document Mapper for MongoDB, to abstract nitty-gritty details away to provide a streamlined learning experience to new developers.
However, this time, I am using the native driver, in an attempt to learn to use the actual MongoDB syntax and commands.
So, the very first roadblock that I faced is to manage the connections, which mongoose already takes good care of.