What is MongoDB? MongoDB is a database program. document-oriented It is classified as a database program that uses -like documents with optional schemas. NoSQL JSON What is MongoDB Compass? MongoDB Compass is just a GUI for MongoDB Installing MongoDB on your Machine Visit the Official MongoDB website In the MongoDB homepage, hover over the tab in the Navigation Bar and click on Software Community Server In the right side of the , there is a section with the title Community Server Page Available Downloads In the version tab, select version 4.2.10 Select your appropriate Operating system in the platform tab And the Most important part here, and download the Package Tab. Make sure you select the ZIP option, --Important Steps After downloading the folder, Extract the folder zipped Inside the , and name it extracted folder create a new folder data Inside the folder, create a new folder named data db This is what your folder structure should look like now: --Connecting to MongoDB You can do this by entering the command below: Open you Machine's console, and change the current directory in the console to the directory of the bin folder in the mongo folder. >cd pathToYourBinFolderInYourMongoFolder After changing the directory in the console, enter the following command: >mongod --dbpath pathToYourDataFolderInYourMongoFolder ** Remember to click enter after entering each commands After going through those steps, your console should be looking like( ) the image below: not exactly And that's all!! Your MongoDB is up and running!!😁😁😁 Now, To check if your MongoDB is working perfectly, Open a new console NOTE: Do not close the first console! Just open a new one After Opening the new console, just enter as a command. mongo Then enter the following commands to create a document in the test collection: >db.test.save( { a: 1 } ) And you'll get a reply Successfully Inserted 😁😁😁😁 AND THAT'S ALL!! AT LEAST FOR SETTING UP THE DATABASE SETTING UP MONGODB COMPASS Visit this to download the MongoDB Compass page Select your Machine's Operating system in the platform tab And the Most important part here, and download the Package Tab. Make sure you select the ZIP option, After downloading the zipped folder, Extract and rename the folder to so as to easily locate it. Compass Inside the folder, you'll see an application called MongoDBCompass, Open that application Enter the MongoDB connection string ( ) in the connection string field and click connect.. mongodb://localhost:27017 A list of your Collections will be displayed And That's All!! Note: Before running your Compass, Make sure your MongoDB is already running in the console!!