The frontend (the home view) needs to be able to get all events from the backend of the events (view model + repository) to display it. This means on load :
Request the events to the view model that will request to the repository all events stored in the database
After receiving the events, show them and, if needed, update the list is there is some change
The frontend (the home view) needs to be able to get all events from the backend of the events (view model + repository) to display it. This means on load :