Skip to playerSkip to main content
  • 3 weeks ago
Transcript
00:02Hi everyone, so now we are going to start with back-end development and the first thing
00:07that we will study is our Node.js. So first, let's talk about what is Node.js exactly
00:12and how do we use it? If we learn Node.js, it means a JavaScript runtime environment.
00:20So, if anyone asks us what is Node.js, it is a JavaScript runtime environment.
00:25What does a runtime environment mean?
00:27When JavaScript was created in the beginning, we used JavaScript only in browsers.
00:36So, only for front-end parts.
00:38What do we do now? We use our console in Chrome, we can write JS.
00:44Or if we have created a file, we use our DOM elements to manipulate our DOM elements.
00:51So, basically, whatever we write JavaScript code, it runs into our browser.
00:56So, first of all, our JavaScript code is running out of browser.
01:00So, in browsers, there are actually interpreters that run JavaScript.
01:05So, that's why we can imagine that it is an environment.
01:09It is a place where JavaScript is running.
01:12So, first of all, when JavaScript was running only in browsers,
01:15then Python or other languages used to be used to create our web servers.
01:21But after that, in 2009, Node.js was released.
01:25And as it was released, its popularity has increased.
01:28And in today's date, Node.js is one of the most popular technologies that is used to build back-end.
01:33Or that is used to build web servers.
01:36So, that's why we will use Node.js.
01:38The first reason is that it is very popular.
01:41That it is very popular.
01:43And the second reason is that this is JavaScript based.
01:45For Node.js code, we don't learn different languages.
01:49If Node.js doesn't exist, then it can happen.
01:51Like we have learned JavaScript in front-end.
01:53For back-end, we have to learn Python before.
01:55And then we have to write Python in Python.
01:57But, because Node.js is JavaScript based on Node.js,
02:00we can use the same knowledge of our back-end to build back-end.
02:04So, basically, Node.js has powered JavaScript that it can run out of browsers.
02:10Like our other languages runs,
02:12So, Node.js is JavaScript's runtime environment.
02:16This environment allows JavaScript to run out of browsers.
02:19Like browser allows JavaScript to run out of browsers.
02:23So, Node.js allows it to run out of browsers.
02:26And it is famously used for server-side programming.
02:29For back-end servers, we use Node.js.
02:34For example, there are many popular uses of Node.js.
02:37There are also many popular uses of Node.js.
02:38There are some tools to build in Node.js.
02:41There are also many tools to build in Node.js.
02:41There are also many game development.
02:43There are also many devices in IoT devices.
02:46There are also many drone software.
02:48But, the most popular use of Node.js is our server-side programming.
02:54Now, there are many tools in Node.js.
02:56When we imagine Node.js,
02:58We can imagine that this is a thing itself.
03:02That is the job of JavaScript to run out of JavaScript.
03:05And there are many tools in it.
03:07But, if someone asks if Node.js is a language?
03:10No.
03:11It is not a language.
03:12It is not a library.
03:13It is not a framework.
03:15It is not a framework.
03:15What is it?
03:15It is a runtime environment.
03:17It is an environment that is running out of JavaScript.
03:22So, now we are going to use Node.js to do our server-side programming.
03:30Now, first of all, let's talk about the installation of Node.js.
03:34Node.js.
03:34If we are in our system,
03:35What can we do in our system?
03:36What can we do in our git bash?
03:39Or, we can go to our terminal.
03:41Or, we can go to our terminal.
03:42And go to the terminal.
03:43Simply, we have to search Node.
03:45If we search Node.js.
03:46And we search a version from this way.
03:48And we have to search a version from this way.
03:49Or, we clear it.
03:52We write Node-V.
03:54So, there is a version from this way.
03:57So, it means that we already have Node installed in our system.
04:00So, this is how we have Node installed in our system.
04:03And this version of Node is installed in our system.
04:06If you want to update it to the latest version.
04:09And if we write something in the terminal.
04:11Like command not found or not recognized.
04:13Then, we have to install Node.js.
04:15And the installation process is very simple.
04:18For installation, we have to go to this link.
04:20Node.js.org
04:21And here, if we are on Mac OS.
04:23This is the recommended for most users.
04:26It is a stable version.
04:27We can download it.
04:29Otherwise, we can go to the downloads.
04:31And our Windows machine.
04:32Or our Mac OS.
04:33Or our Linux.
04:35We can download our installer.
04:38And install it very easily.
04:40Now, with this, we will give you a sheet.
04:41There is a link available.
04:43With this, there is a video available.
04:45With this, there is a video available.
04:46And with this, you can download it.
04:48It is going to be a very simple process.
04:51So, finally, when Node is downloaded.
04:53Then, we can simply check it.
04:54Or, we can write Node-V.
04:56Or, we can write Node-V.
04:57We can verify that our Node is downloaded properly.
05:00One more interesting fact.
05:02Our VS Code, which we use.
05:04VS Code is actually used by Node.js.
05:07That is, the VS Code is a built-in application.
05:10So, Node.js is not just a job.
05:12It is a job of server-side programming.
05:14It is a job of many things.
05:16With this, there is a popular use of server-side programming.
05:19For us, it is a popular use of server-side programming.
05:30Test-астs, that's the first type of plugin.
05:31And then, it is a company as a leader-side programming.
05:32Now, I'm going to say here.
05:36But, we do not know how to use your profile.
05:37We do not know how to use it.
05:37You have in the code.
05:38We are trying to monitor the to be your profile.
05:38You can do it.
05:38There is a place where you can see your profile.
05:38And, it is a set of web, that is not a set of web.
05:51You can do it.
05:52Here are an app.
05:53You can do it.
05:57It is a task.
Comments

Recommended