Thursday 18 May 2017

Sending Data Between Node And HTML

Apologies in advanced if this question seems silly. Node, JS and HTML are very new to me.

Currently I have a simple Express Node Server. It fetches data periodically and stores the results in SQL.

I also have a html page in my routes named graph.html. On this page I'm using Chart.js

I would like to know the simplest way for my html page to request plot data from my node application when the page first loads.



via dubbeat

No comments:

Post a Comment