A minimal key-value database written in Rust.
docker run mioherman/micro-kv:latest -p 3310:3310 --name micro-kv -d
cargo build --release
./target/release/micro-kv
curl --request POST \
--url 'http://localhost:3310/123?ttl=60' \
--header 'Content-Type: application/json' \
--data '{
"_id": "123",
"name": "John Doe"
}'
curl --request GET \
--url 'http://localhost:3310/123'
curl --request GET \
--url 'http://localhost:3310'
curl --request GET \
--url 'http://localhost:3310/ttl/123'
curl --request DELETE \
--url 'http://localhost:3310/123'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please use Conventional Commits for commit messages.