title: How to sync a indexed db (in specific : Dexie) with Rest services?
body: <pre><code>db.syncable.connect ("websocket", "Rest Service URL");
  </code></pre>
  
  <p>Rest Service URL -your rest service url</p>
  
  <pre><code>db.syncable.on('statusChanged', function (newStatus, url) {
      console.log ("Sync Status changed: " + Dexie.Syncable.StatusTexts[newStatus]);
  });
  </code></pre>
  
  <p>Sync on regular interval </p>
  
  <p>The problem is the sync-able works only with the databases. Can anyone help me with reference/procedure on how this sync can be done on rest APIs with dexie.</p>