This is a thin layer between Clickhouse and clients that aims to allow safe share of a SQL endpoint.
endpoint | method | params | output | |
---|---|---|---|---|
/execute |
GET | sql | { "field": "value" } |
You can use the following environment variables or set them using a .env
file.
CLICKHOUSE_URL="tcp://<user>:<password>@<host>:<port>/<database>?secure=true&skip_verify=true&connection_timeout=20s"
- Rust and Cargo
- Docker and docker-compose (if you want a local clickhouse)
docker compose up -d
It will be available using: tcp://default:default@localhost:9000/default