Is this package suitable for syncing liteDB? #170
Unanswered
herczegzoltan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I’m unsure if this package is the right solution for my use case and would appreciate some guidance.
Here’s my architecture:
Client: Maui
Uses LiteDB to store data locally.
Server: ASP.NET Core
Uses Identity for user registration.
MongoDB for storing data pushed from clients.
When I save data locally, I mark it as "Changed" and trigger a push to the server. The push includes a token to authorize the logged in user. So on the server side before saving, the user Id is attached to the data so can be saved to MongoDB with an associated ownerId. To achieve this, I’ve implemented a custom sync mechanism. However, I’m looking for a solution that can handle syncing locally stored data to the server automatically when the internet is available.
Can this package, or any other package, replace my current sync implementation? I haven’t found any examples using LiteDB as the local store.
Any information would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions