1
00:00:00,340 --> 00:00:07,790
You remember in the trial, the setup was extremely similar to that we have right now with one big caveat.

2
00:00:08,430 --> 00:00:13,470
We used basically to store some list of items on our server.

3
00:00:13,620 --> 00:00:20,910
And based on the request, we performed some kind of operation on the list and then sent back the response.

4
00:00:21,120 --> 00:00:24,840
And of course, that is not very serious approach to store our data.

5
00:00:25,230 --> 00:00:32,220
And therefore, starting with this project will set up and connect to a proper database and pretty much

6
00:00:32,220 --> 00:00:39,870
for the remainder of the course will use no skill or non relational database by the name of Mongo DB.

7
00:00:40,260 --> 00:00:45,630
Now, I'm not going to dwell on differences between non relational and relational databases as well

8
00:00:45,630 --> 00:00:47,580
as pros and cons for each of them.

9
00:00:47,940 --> 00:00:54,420
But the major difference is that unlike traditional database where we have rows and columns in Mongolia,

10
00:00:54,570 --> 00:01:00,690
we can simply store everything adjacent and basically it doesn't care how the data relates to each other.

11
00:01:00,990 --> 00:01:07,560
Instead of tables, we have collections which represent group of items and instead of rows we have documents

12
00:01:07,890 --> 00:01:13,830
which represent a single item and a document is a set of key value pairs.

13
00:01:14,070 --> 00:01:19,400
And as far as data types, we can use strings, numbers, arrays, objects and many more.

14
00:01:19,830 --> 00:01:21,230
It's very easy to get started.

15
00:01:21,240 --> 00:01:27,380
And even though you can set it up on your local machine as well, we will right away go for cloud option.

16
00:01:27,840 --> 00:01:30,360
So that's something you'll probably end up doing anyway.

17
00:01:30,690 --> 00:01:33,990
We'll use Mongo DB Atlas, which is the official option.

18
00:01:34,300 --> 00:01:40,470
Basically, it's created by the same people who created Mongo DB and since they offer generous fruitier,

19
00:01:41,010 --> 00:01:44,400
you'll just have to create an account and you'll be good to go.

