官术网_书友最值得收藏!

Running a Node Server on the Pi

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
主站蜘蛛池模板: 谢通门县| 阿拉善右旗| 高尔夫| 贡嘎县| 土默特左旗| 海门市| 永吉县| 陵水| 永兴县| 丽水市| 会宁县| 开江县| 张家川| 淄博市| 久治县| 徐州市| 凤冈县| 藁城市| 浦县| 曲阳县| 蓬莱市| 定边县| 南澳县| 涿鹿县| 北票市| 龙游县| 崇仁县| 泸溪县| 荣昌县| 蓬安县| 共和县| 子长县| 合阳县| 彭阳县| 丹凤县| 罗定市| 新安县| 万州区| 井研县| 柏乡县| 牙克石市|