Skip to main content


Showing posts with the label Visual Studio Code

A Demo On MongoDB Running On Docker And Visual Studio Code MongoDB Extension PlayGround

In this article, we are going to understand MongoDB along with its Docker Composer and its Visual Studio Code extension playground. MongoDB: MongoDB is a source-available cross-platform document-oriented database. It is also called a NoSQL database or Non-Relational database. In MongoDB 'Collection' is equivalent to the Table in SQL database. In MongoDB data is stored as 'Document' that is equivalent to a table record in an SQL database. The 'Document' contains JSON data which will be stored in BSON(Binary JSON) format. MongoDB Docker Composer: Let's implement docker-compose to create a MongoDB docker container. (Step 1): Download and install the 'Docker Desktop' application. The application should be in running mode. (Step 2): Add a new folder for our MongoDB docker composer. Then add the file like 'docker-compose.yml'. docker-compose.yml: version: '3.8' services: mongodb: image: mongo:5.0 volumes: - ./mongo/dat