/jq_proxy

Server for proxying (and querying) JSON data.

Primary LanguageRustMIT LicenseMIT

jq_proxy

A simple http service which proxies json through the popular json tool jq.

Quickstart

$ docker run --rm --publish 8080:8080 --volume $(pwd)/config.yaml:/config.yaml vangorra/jq_proxy --config-file-path /config.yaml
$ curl http://localhost:8080/proxy

Building

# With docker
$ docker build --tag jq_proxy .
$ docker run --rm --publish 8080:8080 --volume $(pwd)/config.yaml:/config.yaml jq_proxy --config-file-path /config.yaml

# With rust
$ cargo run -- --config ./config.yaml