9 comments

[ 2.6 ms ] story [ 34.9 ms ] thread
Hi HN, I'm the author of okdb - wrote it to make it easier to create collaborative apps.
Looks like Operational Transformation is getting popular on HN lately, I have a question on another topic though - wondering how would you connect such systems to an existing infrastructure and especially authentication, to enforce user permissions/roles, etc.
Yes, I hope that realtime apps will be our future :)

Regarding integration - okdb provides hooks, so that you can implement custom authentication/verification, e.g. verify JWT token. For details, have a look at the docs here - https://okdb.io/p/docs/api/server#s5.1

Happy to answer any other questions

sharedb + postgres?
yes, we forked and customized sharedb under the hood, more databases and out-of-the-box functions for collaboration are in progress.
Why did you choose to use Postgres firsthand as opposed to other SQL/NoSQL solutions?