Stocker allows clients to search for stocks and then subscribe for stock symbol price updates
The app is composed of 2 parts
socket.io
+express
serversocket.io-client
app
Endpoints:
/search HTTP GET
endpoint for searching for a stock- socket.io
register
event listener that receives a stock symbol and notifies the client when a price update arrives
The client is calling the server search api with the hard coded value APPL
and then registering the response symbol for updates