DEV Community

Henry Quinn
Henry Quinn

Posted on

How would you handle cloud syncing data for an Electron app?

So I'm going to be building an open source markdown-editor-of-my-dreams for Hacktoberfest and one of the things I want it to do is handle cloud syncing note data across multiple platforms.

App is going to be JavaScript, Node, Electron.

I'm not sure how to handle the native cloud syncing, though.

My gut reaction was to just toss it all in Firebase.

I think a better approach would be to treat it like a Progressive Web App and use service workers to keep track of local offline changes and update a SQL database whenever a user reconnects to the internet.

How would you handle this?

Top comments (1)

Collapse
 
alimughal169 profile image
AliMughal169

want to do the same. did you get the solution?