Creating a multi device app


I am wanting to create a desktop app which can be used across multiple devices but have data shared between all of them. So if I was to add some data from one computer, it should then show up on the other people’s computers while they have the app open.

The issue I have is how to connect this app to a mysql database which can be accessed from anyone who downloads my app.

If anyone has any ideas on how to do this or has a step by step tutorial it would be great.

I am currently using digital ocean to host my life mysql database and am using node to create the application locally.