1
00:00:05,310 --> 00:00:06,420
In this video.

2
00:00:06,420 --> 00:00:10,350
Let's have a look at the road map for learning.

3
00:00:10,380 --> 00:00:19,650
Express J is the first concept you need to know is what we call routing, and we will talk about it

4
00:00:19,890 --> 00:00:21,840
as a Node.js developer.

5
00:00:21,840 --> 00:00:29,970
We need to know how to implement routing in your application and after that you need to know what is

6
00:00:29,970 --> 00:00:31,350
middleware.

7
00:00:31,350 --> 00:00:39,090
Because Xpress is all about middleware and you use middleware for a lot of logic.

8
00:00:39,090 --> 00:00:47,640
In our application, for example, we use middleware to implement what is called authentication, authorization

9
00:00:47,640 --> 00:00:49,530
and business logic.

10
00:00:49,740 --> 00:00:56,130
So when you say authentication, it simply means that allowing a user to enter into our application

11
00:00:56,190 --> 00:01:03,450
and authorization simply means that after a user has logged in, what kind of action the user can take

12
00:01:03,450 --> 00:01:07,320
inside our application, that's what we call authorization.

13
00:01:07,320 --> 00:01:11,250
Again, we have a section for each of these concepts.

14
00:01:11,430 --> 00:01:13,680
Now, what about the business logic?

15
00:01:13,680 --> 00:01:16,380
Well, let's take this for example.

16
00:01:16,380 --> 00:01:24,090
Let's say that we have a block application, and for block application we specify that a user can create

17
00:01:24,090 --> 00:01:25,590
up to ten posts.

18
00:01:26,010 --> 00:01:32,700
If you want to create more than ten posts, then you need to pay or subscribe to our payment plan.

19
00:01:33,060 --> 00:01:36,840
So this is an example of business logic and application.

20
00:01:36,840 --> 00:01:44,100
Or for example, if a user account is not verified, you need to send a message to the place, verify

21
00:01:44,100 --> 00:01:46,230
your account before proceed.

22
00:01:46,230 --> 00:01:48,330
So these are examples of use cases.

23
00:01:48,330 --> 00:01:50,160
So we use middleware a lot.

24
00:01:50,160 --> 00:01:53,820
So you dive in more to know what is middleware.

25
00:01:53,820 --> 00:02:01,140
And after no matter what we are going to talk about is what you call error handling because you are

26
00:02:01,140 --> 00:02:07,950
going to use the middleware concept to talk about how we can handle errors in our application.

27
00:02:08,310 --> 00:02:12,870
So after knowing this, the next one is called template engine.

28
00:02:13,110 --> 00:02:16,950
How we can pass dynamic data into a HTML.

29
00:02:16,950 --> 00:02:26,160
Now that we know the Roadmap for learning experience in video, let's look at what is import and export

30
00:02:26,160 --> 00:02:34,980
because we are going to import express from NPM and then we export our own function to be used in any

31
00:02:34,980 --> 00:02:37,050
part of our application.

