Install
JavaScript SDK
Section titled “JavaScript SDK”Install the core package:
bun add @barq/barqFor React or React Native hooks:
bun add @barq/reactNative SDK
Section titled “Native SDK”Build Barq Native with CMake:
cd nativecmake -S . -B build -DBARQ_NATIVE_NO_TESTS=ONcmake --build build --target barq_nativeTo point Native at a local Barq Core checkout:
cmake -S . -B build -DBARQ_CORE_SOURCE_DIR=/path/to/barq/coreSync Server
Section titled “Sync Server”Build the server from the core repo:
cmake -S core -B core/cmake-build-debug -DBARQ_BUILD_SERVER=ONcmake --build core/cmake-build-debug --target BarqSyncServer