What is Node js?

What is Node js?

 no js' or note, is an open source and cross-platform runtime environment for executing JavaScript code outside of a browser. Quite often, we use no to build back-end services also called api's or application programming interfaces. These are the services that power our client applications. Like a web app running inside of a web browser or mobile app running on a mobile device, these client apps are simply what the user sees and interacts with they're just the surface. They need to talk to some services sitting on the server or in the cloud to store data, send emails or push notifications, kick off, workflows and so on. Node is ideal for building highly scalable data intensive and real-time back-end services that power our client applications. Now you might ask but mosh there are other tools and frameworks out there for building back-end services, such as a speed, a bed rails, Django and so on.

So, what's so special about no well note is easy to get started and can be used for prototyping and agile development, but it can also be used for building super fast and highly scalable services. It'S used in production by large companies such as PayPal, uber, Netflix, Walmart and so on, in fact, at PayPal that rebuilt one of their Java and spring based applications using node, and it found that the node application was built twice as fast with fewer people in 33 % fewer lines of code and 40 % fewer files and, more importantly, they double the number of requests served per second, while decreasing the average response time by 35 %. So node is an excellent choice for building highly scalable services. Another reason for using note is that in node applications we use JavaScript. So if you're a front-end developer and know JavaScript, you can reuse your JavaScript skills and a full-stack developer and get a better job with better pay.

You don't have to learn a new programming language Also because you can use JavaScript both on the front end and on the back end, your source code will be cleaner and more consistent. So you will use the same naming conventions, the same tools and the same best practices. And finally, another reason for using node is that it has the largest ecosystem of open source libraries available to you so for pretty much any features or building blocks. You want to add your application. There is some free, open source library out there that you can use. So you don't have to build this building blocks from scratch and instead you can focus on the core of your application. Next, we're going to look at the architecture of node hi, guys it's maj here. Thank you for watching my node tutorial. I just wanted to let you know that this video you've been watching. It'S part of my complete node course where you will learn everything about node from the basic to the advanced topics. If you're serious about learning node, I highly recommend you to enroll in my node course, because this is much faster than jumping from one tutorial to another.