With TA's help, I now had the data being output in my terminal. I have
a server.js file that contains the calls to create the web server, to
open the socket on the server-side, and to use the serial port
code:Then there is a simple index.html:And finally, there is a
script.js that gets called within the index.html. This gets the parsed
serial data and uses it to update a text value (this is called the
client side, whereas the server.js script is called server side):