Skip to content

ahxxm/restkv

Repository files navigation

RestKV

Build

A simple, unreliable Key-Value store for serverless applications.

API

Try https://kv.ahxxm.com.

Method Path Result Note
POST /new token
POST /{token}/{key} key value in HTTP body
GET /{token}/{key} value
GET /keys/{token} list of keys under the token

Value <=4KB, will overwrite.

POST curl equivalent: curl -X POST -d 'value' https://kv.ahxxm.com/token/key.

Build and deploy Your Own

Build by: TARGET_CC=x86_64-linux-musl-gcc cargo build --release --target x86_64-unknown-linux-musl

It is designed to be behind a reverse proxy, it listens at 0.0.0.0:28080(hard-coded).

Check docker-compose.yml.

About

A simple Key-Value http service for serverless applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published