1
00:00:07,680 --> 00:00:09,210
Welcome back.

2
00:00:09,330 --> 00:00:13,530
Let's get started with Nerd James.

3
00:00:13,830 --> 00:00:23,470
Well, before we get into that, let us know what actually is Node.js and what we can do with Node.js.

4
00:00:23,490 --> 00:00:26,100
So let's get started.

5
00:00:26,130 --> 00:00:28,050
Perfect, guys.

6
00:00:28,350 --> 00:00:29,280
Great.

7
00:00:29,310 --> 00:00:32,250
All right, so what is Node.js?

8
00:00:32,280 --> 00:00:33,450
Let's have a look.

9
00:00:34,530 --> 00:00:35,550
Oh, right.

10
00:00:35,550 --> 00:00:39,840
So let's see what actually is Node.js.

11
00:00:40,110 --> 00:00:44,280
Node.js is a JavaScript runtime.

12
00:00:44,280 --> 00:00:49,410
The key word here is JavaScript runtime.

13
00:00:49,860 --> 00:01:00,900
So Node.js is not a programming language, but instead it is a JavaScript runtime built on Chrome's

14
00:01:00,900 --> 00:01:03,930
V8 JavaScript engine.

15
00:01:04,349 --> 00:01:12,060
Do you remember on the JavaScript, we took a look at how JavaScript works and we saw the UX of the

16
00:01:12,090 --> 00:01:13,530
V8 engine.

17
00:01:14,240 --> 00:01:24,230
And Node.js uses an event driven non blockchain io io is simply means impute and output.

18
00:01:24,350 --> 00:01:33,440
So by default no is asynchronous because it doesn't block other code from running and it misses lightweight

19
00:01:33,440 --> 00:01:38,500
and efficient because node is an event driven one say event driven.

20
00:01:38,510 --> 00:01:44,390
Well, let's take it that if you make a request, we can listen to an event.

21
00:01:44,420 --> 00:01:51,140
If you submit a request or if we do any action application, we can listen to that event and we will

22
00:01:51,140 --> 00:01:54,170
talk more about event driven techniques.

23
00:01:54,440 --> 00:01:54,920
All right.

24
00:01:54,920 --> 00:01:57,180
So that is it about Node.js.

25
00:01:57,200 --> 00:02:02,180
So let's have a look at the JavaScript environment.

26
00:02:02,210 --> 00:02:10,400
Do you remember that we have different types of environment or JavaScript, depending where you use

27
00:02:10,400 --> 00:02:17,450
it, and the first environment is the browser you remember and the JavaScript or our code was running

28
00:02:17,450 --> 00:02:18,590
in the browser.

29
00:02:18,830 --> 00:02:22,310
And the second environment is called Node.js.

30
00:02:22,340 --> 00:02:26,810
That's why it says that Node.js is what JavaScript runtime.

31
00:02:26,810 --> 00:02:35,480
So if you run JavaScript on the server, it is called Node.js environment and all these things are possible

32
00:02:35,480 --> 00:02:38,510
because of the V8 engine.

33
00:02:38,720 --> 00:02:47,720
So Node.js was built on top of what, V8 chrome engine that is about Node.js.

34
00:02:47,720 --> 00:02:54,450
So now that we know the environment where JavaScript runs, then this video, let's have a look.

35
00:02:54,470 --> 00:02:56,720
Why do we use Node.js?

