/gXTDB

gRPC Plugin for XTDB

Primary LanguageClojureMIT LicenseMIT

gXTDB

gRPC Plugin for XTDB

PROJECT IS ON HOLD UNTIL WE HAVE A GOOD SOLUTION FOR EDN->PROTOBUF/PROTOBUF->EDN`

Usage:

Clojure:

  1. Install leiningen
  2. execute make all after making changes to the *.proto files in resources/
  • Execute server: lein run / make run
  • Run tests: lein test / make cljtest
  • Format code, Check: lein cljfmt check, Fix: lein cljfmt fix / make cljfmt
  • Lint code, Check: lein kibit, Fix: lein kibit --replace / make lint

To execute queries on the server for testing purpose use tools like kreya.app or postman with gRPC support.

Rust

  1. Install Rust
  2. In order to build tonic >= 0.9.2, you need the protoc Protocol Buffers compiler, along with Protocol Buffers resource files.

Ubuntu

sudo apt update && sudo apt upgrade -y
sudo apt install -y protobuf-compiler libprotobuf-dev

Alpine Linux

sudo apk add protoc protobuf-dev

macOS Assuming Homebrew is already installed. (If not, see instructions for installing Homebrew on their website.)

brew install protobuf 

Available endpoints

License

This project is licensed under the Apache License 2.0.