What is NoSQL Databases?

Introduction to MongoDB
MongoDB is a NoSQL database that is document oriented means that the data will be stored in Binary JSON file.

As noticed that we have the database fields “type” and “price” have values “Granny Smith” and “0.65” respectively and the Primary Key for the DB is the “_id” field
Connecting with MongoDB
to connect with the MongoDB we will use the “mongosh” to connect to the database using command line
mongosh mongodb://127.0.0.1:27017

Now as we connected to the MongoDB we need to find what are the databases that available for us
show databases

Notice that we managed to find that there are three databases we can use admin config local
Now let’s see how we can create a new database.
use academy
