/tinyfly

NoSql database server

Primary LanguageJavaScript

Tinyfly

Overview

tinyfly is an open-source in-memory database project implementing a networked, in-memory key-value store

Run

1 From Github
git clone https://github.com/YaroslavGaponov/tinyfly
cd tinyfly
PORT=17878 node --expose-wasm ./tinyfly.js 
2 Simple
curl -sS https://raw.githubusercontent.com/YaroslavGaponov/tinyfly/master/tinyfly.js | PORT=17878 node --expose-wasm

3 Docker

git clone https://github.com/YaroslavGaponov/tinyfly
cd tinyfly
docker build -t tinyfly .
docker run -p 17878:17878 -d tinyfly

Rest Api

curl -XPOST http://localhost:17878/nosql/key1 -d 'hello1'
curl -XGET http://localhost:17878/nosql/key1
curl -XHEAD http://localhost:17878/nosql/key1
curl -XDELETE http://localhost:17878/nosql/key1

Remark

I am using WebAssembly techology for speed up some functions. Just for me compiler (https://mbebenita.github.io/WasmExplorer/)