In the previous chapters, we discussed the different layers of the web application technology stack. One of these layers was the middleware layer, which plays an important role in coordinating all the other layers of our application. In order for our application to be robust and available, we must ensure that we use the right technology for the job. Node.js has proved to be a great fit for our use case. Its asynchronous nature matches our requirements of quick and uninterrupted communication between the different layers of our stack.
This chapter covers the basics of running a server application on your Raspberry Pi and includes the following:
- Installing the node on the Raspberry Pi
- The node package manager (npm) and library installation
- Deploying and running a node server on the Raspberry Pi