Welcome back.
Let's get started with Nerd James.
Well, before we get into that, let us know what actually is Node.js and what we can do with Node.js.
So let's get started.
Perfect, guys.
Great.
All right, so what is Node.js?
Let's have a look.
Oh, right.
So let's see what actually is Node.js.
Node.js is a JavaScript runtime.
The key word here is JavaScript runtime.
So Node.js is not a programming language, but instead it is a JavaScript runtime built on Chrome's
V8 JavaScript engine.
Do you remember on the JavaScript, we took a look at how JavaScript works and we saw the UX of the
V8 engine.
And Node.js uses an event driven non blockchain io io is simply means impute and output.
So by default no is asynchronous because it doesn't block other code from running and it misses lightweight
and efficient because node is an event driven one say event driven.
Well, let's take it that if you make a request, we can listen to an event.
If you submit a request or if we do any action application, we can listen to that event and we will
talk more about event driven techniques.
All right.
So that is it about Node.js.
So let's have a look at the JavaScript environment.
Do you remember that we have different types of environment or JavaScript, depending where you use
it, and the first environment is the browser you remember and the JavaScript or our code was running
in the browser.
And the second environment is called Node.js.
That's why it says that Node.js is what JavaScript runtime.
So if you run JavaScript on the server, it is called Node.js environment and all these things are possible
because of the V8 engine.
So Node.js was built on top of what, V8 chrome engine that is about Node.js.
So now that we know the environment where JavaScript runs, then this video, let's have a look.
Why do we use Node.js?