Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Mobile-first” databases that sync to a central server?.
1. Store data locally in SQLite.
2. Export from DB to JSON string.
3. Encrypt JSON with in memory password.
4. Save encrypted string on backend server running Laravel and MySQL.
Basically, I provided backend only for sync functionality. And I liked that data was encrypted on client, so I had less liability.
There are no comments on this comment yet.
1. Store data locally in SQLite.
2. Export from DB to JSON string.
3. Encrypt JSON with in memory password.
4. Save encrypted string on backend server running Laravel and MySQL.
Basically, I provided backend only for sync functionality. And I liked that data was encrypted on client, so I had less liability.