1
00:00:00,300 --> 00:00:06,960
All right, and once we have struggled a bit, now let's make our lives easier by getting to know Express

2
00:00:06,960 --> 00:00:15,990
Jokes, Express is a minimal unflexible, no jazz web app framework designed to make developing websites,

3
00:00:15,990 --> 00:00:20,790
web apps and apps much faster and easier.

4
00:00:21,030 --> 00:00:27,480
If I have to be honest, it's almost unfair how easy and fast it is to spin up the API with the help

5
00:00:27,480 --> 00:00:28,650
of Xpress.

6
00:00:29,100 --> 00:00:36,540
And while it's not officially part of Noad meaning unlike HTP Module Express is not one of the built

7
00:00:36,540 --> 00:00:42,450
in modules at this point in time, Express is pretty much a standard when creating Web applications

8
00:00:42,690 --> 00:00:43,740
with a note.

9
00:00:43,740 --> 00:00:49,350
Ajaz Express has awesome documentation which we will reference from time to time.

10
00:00:49,680 --> 00:00:53,010
And you can find the docs at ExpressJet Dotcom again.

11
00:00:53,010 --> 00:01:01,770
The site is ExpressJet dot com and as far as Danzel, you simply need to run the command of NPM, install

12
00:01:02,580 --> 00:01:04,590
the package you name is Xpress.

13
00:01:05,040 --> 00:01:09,030
Now that you suggest this hyphen hyphen, safe flag.

14
00:01:09,390 --> 00:01:16,590
And effectively, the reason why they do that is because in the earlier Noad versions, if you did not

15
00:01:16,590 --> 00:01:20,730
add this flag, then package wasn't saved to the package.

16
00:01:20,730 --> 00:01:26,670
Jessan Meaning when you push this up to the get up, the next person who was getting a project, well,

17
00:01:26,670 --> 00:01:29,940
he or she did not have the reference for the package.

18
00:01:30,300 --> 00:01:31,890
So of course, that caused the errors.

19
00:01:32,340 --> 00:01:34,680
Now, currently that issue is fixed.

20
00:01:35,010 --> 00:01:37,140
So this is just a good precaution.

21
00:01:37,620 --> 00:01:41,270
But technically, you shouldn't have any issues if you don't run the command.

22
00:01:41,280 --> 00:01:44,550
Again, nothing bad is going to happen if you add this server.

23
00:01:44,910 --> 00:01:47,970
But technically these days you can skip it.

24
00:01:48,300 --> 00:01:53,510
So just grab the command like so and just never get back to the project.

25
00:01:53,850 --> 00:01:59,900
Just keep in mind that, of course, I already installed the Express for the express tutorial.

26
00:02:00,420 --> 00:02:02,250
This is just for your own project.

27
00:02:02,250 --> 00:02:07,380
If you want to install the express, if you set up your own package just on all that, if you want to

28
00:02:07,380 --> 00:02:10,550
install the express, just the run of this command.

29
00:02:10,860 --> 00:02:17,700
Now, one thing that I would like to mention, though, is that I'm using version four point seventeen.

30
00:02:17,940 --> 00:02:23,790
So maybe by the time you're watching this, they already have a version five, not the moment version

31
00:02:23,790 --> 00:02:27,390
five is in Alpha, meaning they're still testing everything.

32
00:02:27,660 --> 00:02:31,770
But maybe by the time you're watching this, this is already stable.

33
00:02:31,780 --> 00:02:38,340
Now, if that is the case, when you're on NPM, install and express, of course, you'll get the latest

34
00:02:38,340 --> 00:02:38,700
version.

35
00:02:39,030 --> 00:02:42,780
So your version is not going to be this four point seventeen.

36
00:02:43,050 --> 00:02:49,440
Now, I wouldn't worry if it's, for example, four point twenty four, but if it's five, there might

37
00:02:49,440 --> 00:02:50,700
be some breaking changes.

38
00:02:50,970 --> 00:02:53,040
And at that point you have two options.

39
00:02:53,190 --> 00:03:00,960
If that is the case, if the version is already five, then you can either reference the API docs for

40
00:03:00,960 --> 00:03:07,050
yourself, meaning you can take a look at the methods and all that was the version five provides or.

41
00:03:07,980 --> 00:03:15,390
If you want to use all the methods and properties that we use in tutorial, simply install the same

42
00:03:15,390 --> 00:03:16,960
version, how you can do that?

43
00:03:16,980 --> 00:03:22,360
Well, you just need to go to NPM, install, express so this stays the same.

44
00:03:22,500 --> 00:03:24,000
And again, you can remove it.

45
00:03:24,000 --> 00:03:25,050
You can leave the dash.

46
00:03:25,050 --> 00:03:25,590
That's safe.

47
00:03:25,860 --> 00:03:26,730
Doesn't really matter.

48
00:03:26,940 --> 00:03:33,050
And after Xpress, you go with ADD and four and then again I'm going to go with the same one.

49
00:03:33,060 --> 00:03:38,070
Just keep in mind, as long as you have four, you're not going to have any issues and then one.

50
00:03:38,310 --> 00:03:43,290
So this is going to install Xpress with this specific version.

51
00:03:43,740 --> 00:03:45,060
Hopefully everything's clear.

52
00:03:45,410 --> 00:03:47,790
And now let's get to know Xpress.

