MongoDB is a NoSQL database that allows one to store unstructured data. With the ever so dynamic world increasing becoming more complex it makes sense to shift databases to a schema that can handle this complexity and lack of structure.

In this article we will be going through process of setting up a mongo daemon on a windows 10 machine and then populating it with data using a python script.

Here are the Tasks that we would be completing,
  • Mongo Daemon Setup
  • Mongo Client Setup
  • Python code to work with the DB

Task 1 : Mongo Daemon Setup

1. Setting up mongoDB

Before we start using the full range of features that MongoDB has to offer us, we will first have to create a mongoDB account. Here is a detailed procedure on setting up the account.

Step 1 : Go to Download MongoDB

Step 2: In the MongoDB Community Server section select the version you wish to download and click on the download button.

For the purpose of this tutorial we'll go with the latest version available.

Step 3 : Run the installer, accept the EULA and click next on all the options. Let the options be set to default and click next on each screen.