Building a Stock Ticker

Let's build a stock ticker project, which displays stock prices in real-time.

Stock ticker project

In the previous few lessons, we built a typeahead. It covers only one kind of asynchronous flow. The frontend always triggers the initiating event and then waits for a response.

The backend never provides new data unless the frontend specifically asks for it.

In the next few lessons, you’re going to build a stock market viewer, which will display the (randomly-generated) prices of several fake stocks in real-time.

The server will send data to the frontend at any time, and the code needs to be ready to react to new ...