An app usually sit between the database and the user, isolating them from each other. This demo does not isolate the database, it is just a proof of concept.
The app can then also have a persistent websocket connection or whatever to the client, so you're able to get push architecture all the way from the data source to the client.