DEV Community

Henry Quinn
Henry Quinn

Posted on

1 2

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?

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay