A real-time world dashboard using Mongodb Change Streams

Since version 3.6, MongoDB offers Change Streams, a new feature that allows user to subscribe to all data changes in a single collection, a database, or an entire deployment. To explore this feature, I have written a small full-stack application that displays (fake) app downloads on a world map in real-time. The technologies used are the following: MongoDB for the persistence using the change streams feature for real-time updates Go backend server, with pretty much no dependencies besides the Mongodb driver An Angular frontend application using Mapbox GL JS for the map visualization The backend server pushes changes to the frontend application using a web socket using go WebSockets In the following sections, I will describe in detail each part of the application. [Read More]