Is "Couchbase Server" a requirement for using Sync Gateway?

Can I use Sync Gateway for replication for apps that use Couchbase Lite without having or installing Couchbase Server? If no, why?

@vanilla Currently you can use Sync Gateway for replication for apps that use Couchbase Lite and you have to install Couchbase Server. You can start Sync Gateway to talk to built in Walrus database and you can see it here https://docs.couchbase.com/sync-gateway/2.1/command-line-options.html#_examples

Can you please describe what you are trying to do and your exact use case?

@raju
I have an NativeScript app that uses Couchbase Plugin, I want to provide users replication feature across their local network,
I don’t have knowledge of Couchbase Server and Sync Gateway,

I want to use Sync Gateway without Couchbase Server, and I want Sync Gateway always have the most recent database that produced from replication, meaning if a new device connected to the network, even if no else mobile is connected, it should get the most recent database.
Also, if computer shut down, the database still be saved and be persistent.

Thanks a lot

Sync Gateway does not persist any data. It must be backed up by Couchbase Server which serves as the persistent data store. So yes, couchbase server is a requirement for Sync Gateway.

You can use Couchbase Lite without Sync Gateway / Couchbase Server and get local storage and peer-to-peer sync.