Is there a way to efficiently display all server side REST actions on the angular js UI of my application? For example, how can I immediately show a message on the GUI when a user is created or when an action fails?
I currently store all such actions in a DB table (Recent Activity) and need to fetch data from this table to display on the UI.
One approach could be to retrieve the latest data from the DB table (Recent Activity) for every action on the UI. However, this would require making a REST call for each action, which may not be the most maintainable code solution.
What is the best way to design and implement the above problem in AngularJS while considering that the application backend is implemented in Springboot?