In this chapter, you learned about the Node.js runtime and its installation on the Raspberry Pi. Next, we made a brief diversion in order for you to learn how to sync our code between our own computers and the Pi using version control systems, such as Git. We then created and executed our first node program and went on to write a more complicated server program. In this process, we also explored npm and the installation of external libraries (node modules) using it. Lastly, you learned how to make a node process persistent using the pm2 library.
It is important to note that although we have covered a couple of node modules (such as express and pm2) in this chapter, the ecosystem is massive, and there are many other modules like these that can be used to make your life easier in many areas of software development. You can consider exploring https://www.npmjs.com/ to know...