Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). 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.
We are not going to cover the all the features, only the basics. If you want to know more about how Node.js works, checkout some videos on youtube:
In this hands-on tutorial, the goal is to give you some pointers and tools so you can start building your own node.js applications.
You can install Node.js by following the instructions from the Node.js project webpage (https://nodejs.org/en/).
If you're using a package manager in your OS, you might find ports already available. For example:
- Installing nodejs using MacPorts.
- Installing nodejs in Ubuntu
- Installing nodejs using NVM. This option allows us to easily manage multiple versions of Node.js.
- If you're using anything else, you probably know what you're doing :)
In case you decided to use NVM, issue the following command to install the latest LTS version.
$ nvm install
You'll find the materials for the lectures in the day* folders.
Head over this repository if you want to save some time while bootstrapping your API project using Express :)