A terrible distributed database that doesn't distribute or store data yet.
Clone:
git clone --recursive https://git.sr.ht/~kragniz/mushroom
Build:
cd mushroom
meson -Db_sanitize=address,undefined build
ninja -C build
Request:
{
"action_type": "get",
"action": {
"key": {
"space": "foo",
"name": "bar"
}
}
}
Response:
{
"content_type": "str",
"content": {
"value": "toot toot"
}
}
Example with curl:
curl -d '{"action_type":"get","action": {"key": {"space": "foo","name": "bar"}}}' localhost:6969