I'm developing a web application and would like to get the system up and running both online and offline. The idea is to maintain a local database that responds when the user is offline , but I do not know how to synchronize the data between the local and remote database when the connection is restored. >
I know how to see if the computer is internet or not, I just do not know how to update the data after it is with the internet.