To get started on the web side of connecting Arduino to the Web, it is useful to have a basic understanding of web technologies. This chapter will go through some of the principles, including what a web server is, how a URL is constructed, what routes are, and what Node.js is. It will then get practical, and you will learn how to create a web server with Node.js and send data back and forth from the server to a web page. It will cover Node.js, ejs, and socket.io.
2. Creating a Web Server
Get Connecting Arduino to the Web: Front End Development Using JavaScript 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.