103. Installing Node on macOS

Pubblicato il: 01 gennaio 1970
sul canale di: WB Web Development Solutions
6,605
55

Week 3: Day 2
Section 12: Intro to Node, Mongo, & REST APIs
Tutorial 103: Installing Node on macOS

In this video, we are going to learn about node js, how to install it and use it.

What is Nodejs?
Node. js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications. Node. js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. In simple language, it's a useful tool for helping us interpret our javaScript code. Before node javascript was only interpreted by browser but with node, javascript can run pretty much anywhere.
It's extremely powerful because it's blazingly fast, scalable, has a big, thriving community of developers behind it, a lot of prewritten code in its npm (basically an App Store for code).
Node.js runs single-threaded, non-blocking, asynchronous programming, which is very memory efficient.

What Can Node.js Do?
Node.js can generate the dynamic page content
Node.js can create, open, read, write, delete, and close files on the server
Node.js can collect form data
Node.js can add, delete, modify data in your database

What is a Node.js File?
Node.js files contain tasks that will be executed on certain events
A typical event is someone trying to access a port on the server
Node.js files must be initiated on the server before having any effect
Node.js files have extension ".js"

The official Node.js website has installation instructions for Node.js: https://nodejs.org

After installing the node on your device you are ready to run javascript file anywhere. To work with javascript open your terminal and type node, now the terminal is capable of interpreting javascript. Node. js is not a framework, it's only a runtime environment to run JavaScript on the server-side. Node. js, as a package, contains an interpreter and a compiler.


Full Stack Web Development in Just 3 weeks
Published by WB Web, Under free promotions,
Watch All the videos for free for a limited time.
You can buy the course from Udemy for lifetime access.

Udemy Course Link:
https://www.udemy.com/ultimate-web/

Content Credit: Mark Price
https://www.devslopes.com/

Hosted By
WB Web Development Solutions


In questa pagina del sito puoi guardare il video online 103. Installing Node on macOS della durata di ore minuti seconda in buona qualità , che l'utente ha caricato WB Web Development Solutions 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,605 volte e gli è piaciuto 55 spettatori. Buona visione!