1
00:00:02,070 --> 00:00:05,358
Just as before with MySQL or SQL in general,

2
00:00:05,358 --> 00:00:09,244
now it's all the time to apply what we learned about

3
00:00:09,244 --> 00:00:13,920
NoSQL in the context of a node JS application.

4
00:00:13,920 --> 00:00:16,149
So in our backend code.

5
00:00:16,149 --> 00:00:17,430
and the offer in this course

6
00:00:17,430 --> 00:00:19,860
section, that's exactly what we're going to do.

7
00:00:19,860 --> 00:00:24,030
You're going to see how you can use your newly gained.

8
00:00:24,030 --> 00:00:26,680
basic NoSQl knowledge

9
00:00:26,680 --> 00:00:28,620
to connect to that,

10
00:00:28,620 --> 00:00:31,460
NoSQL database to connect to Mongo DB,

11
00:00:31,460 --> 00:00:35,773
to be precise from inside the node JS backend code.

12
00:00:36,910 --> 00:00:37,743
Now, for that,

13
00:00:37,743 --> 00:00:40,630
it is recommended that you also went through the,

14
00:00:40,630 --> 00:00:44,548
MySQL course sections because we're going to rebuild the

15
00:00:44,548 --> 00:00:46,120
example from the,

16
00:00:46,120 --> 00:00:48,685
MySQL and node section in this section.

17
00:00:48,685 --> 00:00:51,468
But even if you skipped the MySQL sections,

18
00:00:51,468 --> 00:00:55,580
you'll still be able to continue here as I will provide code

19
00:00:55,580 --> 00:00:59,150
snapshots that you can use to get started with those.

20
00:00:59,150 --> 00:01:01,900
More on that in the next lecture.

21
00:01:01,900 --> 00:01:04,099
However, there is at least one thing,

22
00:01:04,099 --> 00:01:09,100
one lecture you should watch in the SQL and Node to JS core

23
00:01:09,270 --> 00:01:10,103
section.

24
00:01:10,103 --> 00:01:14,530
And that's the lecture where I do explain why exactly it is

25
00:01:14,530 --> 00:01:18,925
so important to establish that database connection and to

26
00:01:18,925 --> 00:01:22,907
run these database queries from inside our backend

27
00:01:22,907 --> 00:01:26,910
code instead of the browser side Java script

28
00:01:26,910 --> 00:01:27,743
code.

29
00:01:27,743 --> 00:01:31,530
So definitely have a look at at least this lecture in the

30
00:01:31,530 --> 00:01:33,863
MySQL and node core section.

31
00:01:34,860 --> 00:01:36,140
With that out of the way,

32
00:01:36,140 --> 00:01:37,820
though, in this core section,

33
00:01:37,820 --> 00:01:41,833
we're going to build a basic example website, a basic blog,

34
00:01:41,833 --> 00:01:46,760
just as we did it in the MySQL and NodeJS core section.

35
00:01:46,760 --> 00:01:48,703
And therefore in this course section,

36
00:01:48,703 --> 00:01:53,100
we're going to plan our general database structure that we

37
00:01:53,100 --> 00:01:55,520
need, or in the context of NoSQL,

38
00:01:55,520 --> 00:01:59,350
we're going to plan the queries we want to run.

39
00:01:59,350 --> 00:02:00,520
And based on that,

40
00:02:00,520 --> 00:02:04,840
we're going to plan how our database should be laid out,

41
00:02:04,840 --> 00:02:08,270
which collections we want and how the documents should look

42
00:02:08,270 --> 00:02:10,300
like in the collections.

43
00:02:10,300 --> 00:02:11,730
And then we are of course,

44
00:02:11,730 --> 00:02:15,750
going to see how we can connect to a Mongo DB database from

45
00:02:15,750 --> 00:02:19,430
inside our code and how we can run CRUD operations in our

46
00:02:19,430 --> 00:02:21,833
code against that database.

47
00:02:22,820 --> 00:02:26,149
And we're then also going to see how we can of course use

48
00:02:26,149 --> 00:02:30,620
that data that we eventually also fetch from the database in

49
00:02:30,620 --> 00:02:34,830
our code and our NodeJS code and how we can bring it onto

50
00:02:34,830 --> 00:02:36,453
the screen of our users.

