The Node.js course teaches freshmen what they should know to construct issues like net servers, microservices, command-line apps, net interfaces, drivers for database entry, desktop apps utilizing Electron, IoT consumer and server libraries for single-board computer systems like Raspberry Pi, machine-learning fashions and extra.
To accompany the video tutorials, Microsoft has additionally published an extensive interactive Node.js course consisting of five modules.
The modules embrace an introduction to Node.js that explains what it’s, the way it works, and when it might be helpful. The second module explains the right way to use dependencies obtained from the NPM registry, whereas the third takes college students via debugging Node.js apps with the built-in debugger and the debugger out there in Microsoft’s Visual Studio Code (VS Code) editor.
The fourth and fifth modules train college students the right way to work with information and directories in Node.js apps and the right way to construct an internet API with Node.js and the Express.js framework for including issues like authentication.
The second video hops proper into putting in Node.js on Linux, macOS or Windows 10 Windows Subsystem for Linux (WSL). The third video explains the right way to set up it on Windows for individuals who do not need to use WSL.
Lasorsa’s first lesson explains how to not set up Node.js – that’s, by Googling ‘node.js’ and putting in it from nodejs.org because of the permission and updating points customers will inevitably run into.
Instead, he recommends freshmen Google ‘nvm’ (Node Version Manager) and open the NVM repository hosted on GitHub. NVM helps Node.js customers replace and swap Node.js variations. Lasorsa then reveals the related script to stick right into a terminal app to put in NVM.