Skip to content

Server-side languages and Node.JS

We've seen how the brwoser handles JavaScript code and network requests, and we've seen how we can interact with a web server. But what does the server do in order to reply to our requests ? Today we'll see how the server thinks and what makes it tick.

Node.js

Node.js is a way to run JavaScript code on the server. It is built on top of the JavaScript engine found in Chrome, the V8 engine, and functions similarly to interpreters such as Python. Node.js also brings new things to the table:

  • a module system that allows us to separate code
  • a package manager that allows us to easily use open source modules
  • various tools that help us understand our code better.

Let's dig in!