We were going to be using NodeJS serverside and use Couchbase Mobile as its backend, and then use sync gateway to replicate to a master Couchbase enterprise server.
Here is the link to the other post saying it should be possible: Couchbase Lite in NodeJS desktop app (using Electron)?