View on GitHub

reading-notes

Node, Express and APIs

An Introduction to Node JS

What is Node and When Should I Use it?

What is Node.js

Node.js is a program we can use to execute JavaScript on our computers. In other words, it’s a JavaScript runtime

What is Node.js Used For?

Node.js lets us run JavaScript on the Server

Node.js Executin Model

Node.js, however, is single-threaded. It’s also event-driven, which means that everything that happens in Node is in reaction to an event. For example, when a new request comes in (one kind of event) the server will start processing it. If it then encounters a blocking I/O operation, instead of waiting for this to complete, it will register a callback before continuing to process the next event. When the I/O operation has finished (another kind of event), the server will execute the callback and continue working on the original request.

*What Kind of Apps is Node.js Suited For?

What Are the Advantages of Node.js?

Other Uses of Node

Back to Homepage