Questions tagged [sharedb]

5 questions
1
vote
1 answer

ShareDB with JSON-Patch (CRF-6902)

If I read the documentation correctly, one needs to create "JSON0 OT Type" records for any change in the target data-model and send these to the ShareDB backend for transformation and forwarding to other clients. There also seems to be a newer…
mvermand
  • 5,829
  • 7
  • 48
  • 74
0
votes
1 answer

how to list all doc in a mongodb collection with sharedb-cli

it is my client-demo. I want to get all doc in the "file" collection. but i get null I use the mongo shell to test it. I find the doc data exists I'm sure the client connects to server successfully. cause when i invoke…
0
votes
0 answers

ShareDB - Run Database queries in middleware

Currently i am dealing with the following situation: I have a ShareDB backend up and running in order to realize real time collaboration (text writing). Every time a user connects i would like to check if the document the user intends to work on…
Creative crypter
  • 1,348
  • 6
  • 30
  • 67
0
votes
1 answer

Adding a key(Path) to JSON-Object with sharedb and json0-ot-type

I am currently working with sharedb (https://share.github.io/sharedb/) and the operationel transformation type json0 (https://github.com/ottypes/json0). I need to add a key (path) to a JSON object afterwards, which should be shared via sharedb. For…
Florian3007
  • 87
  • 14
0
votes
0 answers

Is there a way to use ShareDB with AWS API Gateway WebSocket?

I'm developing a collaborative text editor, and the great ShareDB library was the best option I can find, very simple to use and accessible! But now I'm figuring out where and how can I host a scalable backend handling ShareDB. In the beginning, I…