1
00:00:00,330 --> 00:00:06,510
All right, and once our database is ready to go now, we need to connect to it from our server and

2
00:00:06,510 --> 00:00:09,210
we're going to definitely use the native MongoDB driver.

3
00:00:09,570 --> 00:00:17,310
And I believe the package name was just that MongoDB bought a very popular alternative is to use package

4
00:00:17,310 --> 00:00:23,340
by the name of mangoes instead, which is a object data modeling library.

5
00:00:24,030 --> 00:00:29,580
And essentially the reason why it's so popular and why we're going to use it in this and the rest of

6
00:00:29,580 --> 00:00:36,150
our project is because right out of the box, it comes with a bunch of goodies that make our development

7
00:00:36,150 --> 00:00:36,630
faster.

8
00:00:37,020 --> 00:00:42,870
Now, I'm not going to list them in this video, since you'll see them in action in all of our projects.

9
00:00:43,170 --> 00:00:44,640
Just let me repeat that.

10
00:00:44,640 --> 00:00:45,130
Yes.

11
00:00:45,390 --> 00:00:49,800
You can set up your apps with just native MongoDB package.

12
00:00:50,160 --> 00:00:57,030
But the reason mangoes is so popular is because it has extremely straightforward API, and it basically

13
00:00:57,030 --> 00:01:00,480
does all the heavy lifting for us when it comes to our project.

14
00:01:00,480 --> 00:01:04,110
I already installed mangoes so I can start using it right away.

15
00:01:04,379 --> 00:01:11,940
But if you want to use mangoes in your own future project, the command is and PM install and mangoes.

16
00:01:12,240 --> 00:01:16,230
And one last thing in this project we're going to be using mangoes version five something.

17
00:01:16,680 --> 00:01:23,100
So if by the time you're watching this, if they have a higher version, pretty much everything starting

18
00:01:23,100 --> 00:01:23,760
from six.

19
00:01:24,300 --> 00:01:29,700
So if you have five point, I don't know, 14, 15 or whatever, you'll be still in good shape.

20
00:01:29,700 --> 00:01:36,210
But if by the time you're watching this, they already have version six API might also be different.

21
00:01:36,630 --> 00:01:43,470
And at that point you have two options install this particular mangoes version or just use the latest

22
00:01:43,470 --> 00:01:46,770
one and utilize their docks as a quick send out.

23
00:01:46,770 --> 00:01:51,600
Since I recorded the course, mangoes did come out with new version version number six.

24
00:01:52,230 --> 00:01:58,170
Now the good news is that as far as I checked, the only change that affects our project is the lack

25
00:01:58,170 --> 00:02:01,800
of deprecation warnings, which we're going to cover in the next video.

26
00:02:02,110 --> 00:02:04,770
Rest of them don't really affect us now.

27
00:02:04,770 --> 00:02:10,470
I still suggest using mangoes version that's already installed in the star while working on this project.

28
00:02:10,949 --> 00:02:17,130
But as far as I've tested and the current student feedback, you have no problem implementing the knowledge

29
00:02:17,130 --> 00:02:20,460
in your own project with version six instead.

