Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A key-value store in Opa

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
README
A simple key-value store built in Opa.

Keys and values are stored as strings.

Public API:
* POST some_key   => adds [(some_key, body)] to the storage.
* GET  some_key   => if [(some_key, some_body)] appears in the storage, return [some_body] as text/plain, otherwise 404 (Not found)
* DELETE some_key => if [(some_key, some_body)] appears in the storage, delete it, otherwise ignored
* everything else => 405 (Method not allowed)


BUILDING
 make

LAUNCHING
On one server:
 ./opa_storage.exe
(launches on port 8080)

or
 ./opa_storage.exe --server-port nnnn

On many servers:
  opa-cloud opa-storage.exe --host localhost --host me@my_second_server --host me@my_third_server

Something went wrong with that request. Please try again.