unzip the folder go to terminal select essentially as your current directory go to ->server, run npm i command and then run npm start. go to file explorer select essentially go to client open stocks.html page. This is hitting the api(/api/stocks) every seconds to get the data from stocks.json file. you can see the data on console
tusharansal23 / polygon Goto Github PK
View Code? Open in Web Editor NEWunzip the folder go to terminal select essentially as your current directory go to ->server, run npm i command and then run npm start. go to file explorer select essentially go to client open stocks.html page. This is hitting the api(/api/stocks) every seconds to get the data from stocks.json file. you can see the data on console