Chapter 3. Node.js for the Web of Things

This chapter covers

  • An overview of how JavaScript can be used for the IoT and the WoT
  • A thorough yet accessible introduction to Node.js
  • The implementation of a simple HTTP server with Node.js
  • An introduction to Node.js modularity and NPM
  • The basics of asynchronous programming and control-flow libraries

The previous chapter provided a first encounter with web-connected devices. We hope it made you realize how easy it is to build applications that interact with various web-connected devices. But this was only the tip of the iceberg because we did all the hard work for you. In the rest of the book, we’ll teach you all you need to know in order to implement your own web-connected devices and applications. ...

Get Building the Web of Things now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.