I know how to connect to MySQL and I know how to emit data with socket.io but I don't know how to listen for database changes...I have am API that when it's being called a new data is being inserted to the database and at the same time I have a socket connection to my client, I need to either listen to the database changes or have the API call interact with the socket connection...I'd love to get a direction :)
Submitted January 17, 2020 at 12:58AM by s_trader
No comments:
Post a Comment