Tag Archives: MongoDB

Python – Management of a MongoDB database

By | 06/12/2023

In this post, we will see how to manage a MongoDB database with Python using pymongo.In detail, we will perform the CRUD operations on a document called ‘User’ defined as follows: We start writing a Docker-compose file to create a docker container, with an instance of MongoDB: If we run it, the following will be… Read More: Python – Management of a MongoDB database »

MongoDB – How to query a MongoDB Collection (Part I)

By | 23/02/2022

In this post, we will see some query examples to run in a MongoDB database. We start writing this Docker-compose file to create a docker container with an instance of MongoDB: [DOCKER-COMPOSE.YML] Now, we execute the docker-composer file and then, we will use NoSQLBooster to run queries in the database: Now, we create a database… Read More: MongoDB – How to query a MongoDB Collection (Part I) »

Web API – CRUD operations with MongoDB

By | 12/01/2022

In this post, we will see how to create a WebAPI project to execute CRUD operations in a MongoDB database. We start creating a Docker-compose file in order to define a MongoDB container and a Mongo-Express container: [DOCKER-COMPOSE.YML] Then, with the command docker-compose up -d, we run the docker-compose file: Now, we will add a… Read More: Web API – CRUD operations with MongoDB »

MongoDB – How to install it on macOS

By | 27/01/2021

In this post, we will see how to install and configure MongoDB on macOS. First of all, we open the Terminal and run the command /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” , in order to install Homebrew brew. Then, we run the command brew tap mongodb/brew, in order to download the official Homebrew formulae for MongoDB and… Read More: MongoDB – How to install it on macOS »

MongoDB – How to install on Windows

By | 09/09/2020

In this post, we will see how to install and configure MongoDB on Windows.But first of all, what is MongoDB?MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability.A MongoDB Database is formed of three main components:DATABASE – the physical container for collectionsCOLLECTION – it is a group of… Read More: MongoDB – How to install on Windows »