An open source server environment.
It allows you to run JavaScript on the server.
Server-side scripting language.
https://www.w3schools.com/nodejs/
https://career.guru99.com/top-25-interview-questions-on-node-js/
Back
How Node.js work
Front
Works on a v8 environment, it is a virtual machine that utilizes JavaScript as its scripting language and achieves high output via non-blocking I/O and single threaded event loop.
Back
Http module
Front
A built-in module that creates an HTTP server that listens to server ports and gives a response back to the client.
Use the createServer() method to create an HTTP server:
Back
Callback function
Front
A function specified as part of an event listener
Back
Express
Front
A node framework for URL routing, error handling, middleware and etc
Back
Semantic Versioning
Front
Version 1.2.3
1: major - break in functionality
2: minor - added features that don't break functionality
3: patch (fix) - bug fix or patch
Back
Module
Front
A set of functions you want to include in your application.
(Same as JavaScript libraries.)
Use require() function with the name of module to include
Back
Blocking
Front
Blocking is when the execution of additional JavaScript in the Node.js process must wait until a non-JavaScript operation completes. This happens because the event loop is unable to continue running JavaScript while a blocking operation is occurring.