Flutter Nodejs MySQL Real Time Live Data Update | Socket Programming

preview_player
Показать описание
Few days back, I just think, how the firebase send data to all its client when there is an update in firestore or database.
So, I decide to do this with MySQL and NodeJS.
After the research of few hours, I came to know that, we can do this with the help of web sockets.
In the HTTP request, we can only make a request to the server and get response from the server immediately.
Through WebSocket we can connect a client to the server at once, and then server can send data to the client any time.

Finally I made a mobile application in flutter and the backend with NodeJS and MySQL. In this Application, There are four Counter which is retrieve from the MySQL database. When a user click on a counter It increment the value and send update data from database to all client including it self.

Here is the code of mob application.
Later on I will upload the backend NodeJS code also.
Рекомендации по теме
Комментарии
Автор

amazing but we need a complete tutorial :((

speedtnt
join shbcf.ru