Flint is a key/value store, where the key is the http request path, and the value is the http request body.
docker run -p 2000:2000 hyqe/flint --verbose
put a value
curl -X PUT 'http://localhost:2000/foo' -H 'Content-Type: application/json' -d'{"foo": "bar"}' -i
get the value back
curl 'http://localhost:2000/foo' -i
Content-Type: application/json
{"foo": "bar"}
delete the value
curl -X DELETE 'http://localhost:2000/foo' -i
docker pull hyqe/flint:latest
Run temporarily in the terminal.
docker run -p 2000:2000 hyqe/flint --verbose
Run forever in the background with storage that persists after reboots.
mkdir -p ~/.flint
docker run \
-d \
-p 2000:2000 \
-v ~/.flint:/app/cache \
--restart unless-stopped \
--name flint \
hyqe/flint:latest \
--storage cache \
--verbose