1
00:00:00,300 --> 00:00:09,330
All right, and before we get busy, why don't I give you a brief overview of the report and if you

2
00:00:09,330 --> 00:00:15,750
take a look at the first project, I should look very, very familiar, because essentially this is

3
00:00:15,750 --> 00:00:22,170
all the code we have written so far, everything starting with our most basic application.

4
00:00:22,500 --> 00:00:28,200
And then, of course, we also have our last one, our HTP stream's example.

5
00:00:28,500 --> 00:00:32,590
So hopefully that is clear if you ever need to jog your memory.

6
00:00:32,820 --> 00:00:39,240
Essentially, this is just here for your reference, and mine from now on will work in a folder number

7
00:00:39,240 --> 00:00:42,510
two by the name of Xpress tutorial.

8
00:00:42,960 --> 00:00:50,400
And the idea is going to be exactly the same, where basically we build a bunch of examples and in the

9
00:00:50,400 --> 00:00:57,540
process we learn what is express and why we would prefer using Express instead of straight up HTP module.

10
00:00:57,550 --> 00:01:04,349
But again, let me stress something where Express is built on top of node and more specifically on top

11
00:01:04,349 --> 00:01:05,580
of the CPP module.

12
00:01:05,880 --> 00:01:09,840
So it's not like you can use express without a node.

13
00:01:10,170 --> 00:01:18,690
And enfolded to the setup is following where they're going to be some assets that I provided just so

14
00:01:18,690 --> 00:01:21,780
we can make more real world examples.

15
00:01:22,050 --> 00:01:28,320
So hopefully that gives you a better idea of how the express works and I'm not going to cover them right

16
00:01:28,320 --> 00:01:28,470
now.

17
00:01:28,480 --> 00:01:30,300
For example, Method's public or not.

18
00:01:30,300 --> 00:01:34,050
Borup Once we get there, I'll explain everything that's happening.

19
00:01:34,440 --> 00:01:37,450
I think that it's going to be a waste of our time if I do that right now.

20
00:01:37,800 --> 00:01:44,670
However, if you take a look at the final folder, you'll basically see all our examples.

21
00:01:44,880 --> 00:01:52,410
So the same spiel, if you ever need to reference the code, must navigate to the final look for the

22
00:01:52,410 --> 00:01:53,010
filename.

23
00:01:53,280 --> 00:01:55,380
And then, of course, you'll find the code.

24
00:01:55,380 --> 00:02:02,850
Just keep in mind that in order to run this code, you'll have to copy and paste and run it in the abcess.

25
00:02:02,850 --> 00:02:03,800
Why on?

26
00:02:03,870 --> 00:02:05,940
Because in some cases there is going to be paths.

27
00:02:06,180 --> 00:02:15,300
And since these files are located already in the final, the paths, while much of Leevi one is clear

28
00:02:15,300 --> 00:02:15,750
as well.

29
00:02:16,050 --> 00:02:20,160
And then we also should be familiar with these files.

30
00:02:21,040 --> 00:02:28,600
As you can see, I have packages on I have packages on lock and then abcess now of course, Abcess could

31
00:02:28,600 --> 00:02:34,720
be renamed server or whatever you would want, but I already have in a package based on a script that

32
00:02:34,810 --> 00:02:36,280
spins up the Nordman.

33
00:02:36,430 --> 00:02:40,450
And effectively we have successfully set up a node application.

34
00:02:40,630 --> 00:02:45,310
So packages is of course needed because we'll have some dependencies.

35
00:02:45,580 --> 00:02:51,150
More specifically, two one is going to be Nordman and the second one is going to be Xpress.

36
00:02:51,610 --> 00:02:56,920
And in order to, of course, keep track of those dependencies, we have package checks on.

37
00:02:57,250 --> 00:03:01,810
Um, if you notice, I don't have the node modules here.

38
00:03:01,960 --> 00:03:06,040
And of course, the reason for that is because I don't want this report to be massive.

39
00:03:06,280 --> 00:03:11,370
And you can clearly see that in a more where I have node modules included.

40
00:03:11,380 --> 00:03:18,010
So when I was pushing this up to the GitHub and of course I admitted the node module since I added them

41
00:03:18,220 --> 00:03:21,570
in the gate, ignore I'm in a package.

42
00:03:21,620 --> 00:03:26,560
Sound like I said, you'll find some dependencies and I'll talk about Express once we get there.

43
00:03:27,490 --> 00:03:28,560
Let's not worry about it.

44
00:03:28,870 --> 00:03:33,820
The one that we should be familiar with is Node one, which is going to be watching our application.

45
00:03:34,060 --> 00:03:40,510
And I have a script that sets up Nordman and passes in the ABDUS.

46
00:03:40,810 --> 00:03:46,120
So any changes in our project will be watching and restarting our application.

47
00:03:46,150 --> 00:03:53,910
However, we cannot do anything before we install all dependencies, otherwise you'll just get another.

48
00:03:54,160 --> 00:04:00,190
So that's why the first thing that I would want you to do is navigate to the folder number two.

49
00:04:00,580 --> 00:04:07,960
And the fastest way probably is just going to be CD and then take the project number two and drag and

50
00:04:07,960 --> 00:04:08,800
drop like so.

51
00:04:09,040 --> 00:04:12,930
And once you can see that you are in this folder.

52
00:04:13,390 --> 00:04:20,260
So not a node, not a node express course, but once you are actually in the folder number two before

53
00:04:20,260 --> 00:04:26,100
you do anything, just run npm install first and then it's really up to you.

54
00:04:26,200 --> 00:04:32,290
You can either wait for all the dependencies to be installed and then run npm start or you can simply

55
00:04:32,290 --> 00:04:34,960
churn it and say npm start.

56
00:04:35,350 --> 00:04:39,730
And once you're on this one, then of course you'll install dependencies.

57
00:04:39,730 --> 00:04:47,620
And if you see in a terminal express tutorial, that means that everything is correct and you can continue

58
00:04:47,620 --> 00:04:48,880
with the videos.

59
00:04:49,180 --> 00:04:53,650
If you don't see that, then please troubleshoot, because none of the things that we're about to do

60
00:04:53,650 --> 00:04:58,060
next are going to make sense if you're not running the project.

61
00:04:58,060 --> 00:05:03,730
Number two, with all the dependencies, more specifically Node and Xpress.

62
00:05:04,150 --> 00:05:07,350
And lastly, I just want to mention, yes, there's also this data jass.

63
00:05:07,390 --> 00:05:12,820
And again, this is one of the assets that I added that we're going to use a little bit later.

64
00:05:13,270 --> 00:05:19,180
So if you see a tutorial in a console, the reason why it's there, because that's the only line of

65
00:05:19,180 --> 00:05:20,650
code I have in my outguess.

66
00:05:20,920 --> 00:05:22,450
That means that everything is correct.

67
00:05:22,720 --> 00:05:25,630
And we can move on to our next topic.

