I’m new to Couchbase - so I hope I’m not asking a stupid question - and in the wrong category
I’m already using a NoSQL database but I find the Sync Gateway really interesting. Therefore, I am seriously considering moving to Couchbase as part of a re-write of our app. The re-write will be done in Xamarin that has a plugin for Couchbase Lite.
So that leads me to a couple of questions:
Should I create each registered user as a Couchbase user? Or just use a “generic” user for database access? If so, how do I register the user in the first place and authenticate with the server before having registered the user??
I don’t want to sync all data between the mobile app and the server. How do I ensure that I only sync data relevant for the particular user? I have general meta data (for all users) and private registrations for each user
Do I need a bucket for each user? Or can I “just” (hopefully) have one bucket for all of the different document types and sync against that with some criteria for each user?
Any th0ughts you can share or links to further reading would be much appreciated!