I am building a website in HTML, and I also have a node.js process running that will grab data from an npm package called better-sqlite3
. I want to take that data, and show it on my website.
I am not exactly sure how to go about pushing the data over. I know how to spin up a server through the http
module, but I do not know how to make it push the data to the site.
I want this data-
{ name: 'xxxxxx', value: '15324 points (level 24)' } { name: 'yyyyyy', value: '9643 points (level 19)' }
Displayed on the site, and hopefully fit my design.
Any tips y'all can give me? Thanks ahead of time.