00:01Welcome back to the last section in this title
00:03where we're gonna move from JSON into Mongo db.
00:08In this section, we're gonna explore the differences
00:10between Mongo D
00:11and Mongo, which are both installed when you install the
00:14Mongo DB client database, the database.
00:18We're also gonna learn some core terms in MongoDB,
00:22which are database collection and document.
00:25We're gonna prepare data for MongoDB.
00:27We're gonna set up OTO a server using no Js, express Js
00:31and Mongo js.
00:33And last but not least, we'll create a chart, a radar chart,
00:37using all of these configurations
00:39that we prepare throughout this section.
00:41So with that said, let's start with the difference
00:44between Mongo D and Mongo.
00:46When you install Mongo database, it installs OSU a driver,
00:50but starting you have the Mongo itself is just like a
00:54regular server, is a server for your database, which means
00:57that clients could interact with it
01:00and request things from it to be able to interact with it.
01:04You need Oso to have a driver,
01:06and the built-in driver is called Mongo,
01:08and we're gonna use both Mongo D,
01:10and we have to have Mongo D running to be able
01:12to use a driver to actually interact with with with it.
01:16So Mongo D is the server,
01:18and Mongo in our case, enables us to drive
01:20and interact with it.
01:22Now, last but not least, just as a side note,
01:25we're also gonna use Mongo js in this title,
01:28and that is gonna be an unofficial driver for usage
01:32whenever you're in node js.
01:34With that said, I also wanna say one more thing
01:36before you move into actually watching this lecture,
01:39make sure that you install Mongo D, your Mongo database.
01:43Uh, links are provided
01:44with this chapter based on your operating system.
01:47So make sure that you have it installed
01:48before you move on to the actual lecture.
01:51And if you have it installed, let's jump right into it
01:56as this title is all about data
01:58and different ways to visualize it.
02:00In this last section, we're gonna be working with MongoDB.
02:04Now, we're not gonna show you the process of installing it,
02:06nor are we gonna go deep into the world
02:09of MongoDB and how it works.
02:12Before continuing into this lecture, make sure
02:15that you go into the added links that are
02:18provided to this chapter and go through the process
02:20of installing MongoDB if you're on Windows OSX,
02:24or Linux.
02:26So by the end of this segment, which is really right now,
02:30before you continue to the video, make sure
02:33that you have MongoDB running.
02:35And how do you know if you have
02:37MongoDB running and installed?
02:38Go into your terminal and in your turn terminal,
02:41I'm gonna open up a few windows.
02:43In the first one, I'm just gonna type your Mongo
02:46D at Mongo D.
02:48What it's gonna do is actually gonna start up
02:50the MongoDB server.
02:51Don't worry about all the copy that's there.
02:53All that's matters. All that matters is you're seeing
02:56that you're waiting for connections in port 27, 0 17,
03:00or whatever port number you see on your end.
03:03Once MongoDB is set and running, open up another tab.
03:08And in this new tab, we're gonna run a built in MongoDB
03:19Driver, a built-in MongoDB driver.
03:22Now, what is the difference
03:23between the MongoDB itself and a driver?
03:26The MongoDB itself is the actual database.
03:30It's a server, just like any other server.
03:32It's a database server that enables clients to communicate
03:36with it and gain access to that database's information,
03:40while a driver is a tool
03:42or a code that enables you to communicate
03:45with that database.
03:46Now built into MongoDB, once you've installed MongoDB
03:50and you've typed Mongo D to start up the server,
03:53if you type in Mongo, it will start up the Mongo Shell.
03:57And this Mongo Shell is the driver that enables you
04:00to communicate with your Mongo database.
04:03So in the next lecture, make sure
04:05that you have Mongo DB running
04:07and that you're in the Mongo DB driver.
04:10So you start up Mongo DB with Mongo D,
04:14and you gain access to its driver
04:16or its shell through the command Mongo.
04:20So we'll see. In the next lecture,
04:21we start looking at the basics of Mongo DB itself.
04:26In this lecture, we saw how to start up our Mongo D server
04:30and how to get into Mongo itself, the driver
04:34to interact with our server.
04:36In the next lecture, we'll continue
04:38and explore the three core terms in Mongo db.