0

We are building a desktop application using electron and react.

We need to store the content for application in the indexed database in the electron application. The content is stored as if it's a client application similar to a web page.

Our design contains a server which allows connections from other applications installed in different IP addresses. The clients connected to the server sends data to the server and stores the data in its local indexed storage. This stored data should be allowed for access by all the clients connected.

  • I used Dexie library along with the request library to start server in the HTML code itself. It would not work in browser. But works perfectly in the electron environment. – vijayakanth p madhavan Jun 27 '17 at 10:23

1 Answers1

0

Assuming you use Dexie / indexedDB in order to gain offline support. In that case, use a sync solution. You could either build one yourself using Dexie C R U D hooks, or you could use a complete sync solution with sync-server.

David Fahlander
  • 5,058
  • 1
  • 20
  • 19