The Node.js course teaches beginners what they need to know to build things like web servers, microservices, command-line apps, web interfaces, drivers for database access, desktop apps using Electron, IoT client and server libraries for single-board computers like Raspberry Pi, machine-learning models and more.
To accompany the video tutorials, Microsoft has also published an extensive interactive Node.js course consisting of five modules.
The modules include an introduction to Node.js that explains what it is, how it works, and when it could be useful. The second module explains how to use dependencies obtained from the NPM registry, while the third takes students through debugging Node.js apps with the built-in debugger and the debugger available in Microsoft’s Visual Studio Code (VS Code) editor.
The fourth and fifth modules teach students how to work with files and directories in Node.js apps and how to build a web API with Node.js and the Express.js framework for adding things like authentication.
The second video hops right into installing Node.js on Linux, macOS or Windows 10 Windows Subsystem for Linux (WSL). The third video explains how to install it on Windows for those who don’t want to use WSL.
Lasorsa’s first lesson explains how not to install Node.js – that is, by Googling ‘node.js’ and installing it from nodejs.org due to the permission and updating issues users will inevitably run into.
Instead, he recommends beginners Google ‘nvm’ (Node Version Manager) and open the NVM repository hosted on GitHub. NVM helps Node.js users update and switch Node.js versions. Lasorsa then shows the relevant script to paste into a terminal app to install NVM.