I am using Laravel 8 as my framework. Currently working with API mobile, in which I plan to make the data to be always update concurrent with the database.
What should I do in order to make it work concurrently with the data in the database, example if there change on database through website then the API will get it.
I am just concern if there is a way that user can get the data even though while they are using the apps. mean without refresh, do I need to do it on UI site to get the data.
Does it same as Asynchronous?
Check laravel broadcasting
This is a websocket implementation, with this you can send a message to the client to notify something changes on the server. With this you can update the user interface with the new data from the database