Summary

Node.js was created by Ryan Dahl in 2009 as a JavaScript interpreter based on Google Chrome’s V8 Engine. Since then it is The JavaScript interpreter used by Google Chrome and the most used middleware tool overall.

Performance

One of the major reasons that made Node.js so popular is the non-blocking operation, that doesn’t block any requests if one is already in process. Its resource allocation is very optimized and it will store every request in the memory and process them in all of the cores available. Works just as a queue model.

Part 1 - Starting Up and Node Modules

Part 2 - Async Operations

Part 3 - Tests with Mocha & Chai

Part 4 - Express - HTTP w/ Node.js

Part 5 - Express - Middlewares