Platform & Tech
Ever wondered what runs oboku ?
API (data)
The main API is written in nodejs and is being hosted on
Remote Database
The databse is https://couchdb.apache.org/. This database mainly allows replication & conflict resolution.
The remote database is replicated with the device local database. Your device holds the "same" data as the one on the remote database. This allow full offline use and synchronization between devices.
Device database
The device database is https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API with https://rxdb.info/ as "ORM" layer. The local database synchronize and replicate the remote database when online. When you are offline, all the changes happens in indexeddb and will wait until online to replicate to the remote database.
Rxdb offers a reactive API based on https://rxjs.dev/.
Last updated