Skip to content

adkuz/tarantool-key-value-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tarantool simple key-value store

Build Status

tarantool + lua

Keywords

API

Path Method Body (json) Description
/kv POST {"key": "Your key", "value": ...your object...} Add a new pair if key was not in the database
/kv/:key GET Select pair by key and return result
/kv/:key DELETE Delete pair if key was in the database
/kv/:key PUT { "value": ...your new object...} Update new pair if the key was in the database
/info/kv/all_records GET Return all pairs in database

Commands

This project requires docker to run.

Installation

$ make docker

Application launch

$ make run

Test (require python 2.7 and some modules)

$ pip install requests simplejson  # install modules for testing
$ make tests                       # local tests
$ make heroku-test                 # test heroku app

Stop Application

$ make stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages