I'm new to Node.js and am unsure how to use it for my website as defined in the following example. Here's what I'd like to do:
I have a website http://example.com with a real-time stock dashboard located at http://example.com/stocks. I'd like to use Node to
1) populate a mysql database (located on my web server through Namecheap hosting) with stock data scraped every 5 minutes (say from Bloomberg)
2) pull the stock data from the mysql database and serve it to the page to be displayed through the dashboard on a client's end when they visit http://example.com/stocks.
I'm by no means asking for the code behind this, I just don't know where to start! Every tutorial online seems to use their machine localhost as the only place to display and use their Node output. How can I use Node to achieve the tasks above through my web server associated with my domain and not my localhost machine? Thanks for any advice!