Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naomijub/gxtdb
gRPC Plugin for XTDB
https://github.com/naomijub/gxtdb
Last synced: 16 days ago
JSON representation
gRPC Plugin for XTDB
- Host: GitHub
- URL: https://github.com/naomijub/gxtdb
- Owner: naomijub
- License: mit
- Created: 2023-04-10T18:02:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-30T19:49:11.000Z (about 1 year ago)
- Last Synced: 2024-10-10T20:17:15.609Z (about 1 month ago)
- Language: Clojure
- Size: 156 KB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://leiningen.org/)
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](https://rustup.rs/)
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](https://brew.sh/).)```
brew install protobuf
```## [gRPC Rust Client](gxtdb-rs/docs/gxtdb-rs.md)
Available endpoints
- [status](gxtdb-rs/docs/gxtdb-rs.md#status-example-response)
- [submit_tx](gxtdb-rs/docs/gxtdb-rs.md#submit-tx-example-response)## License
This project is licensed under the Apache License 2.0.