labelstore

1.0.0 • Public • Published

labelstore

Travis CI

This is a straightforward REST API for storing keys and values. The idea is that if you have a webapp on an embedded device that has read only memory In my case, the raspberry pi running my pyrelay box has its root filesystem mounted read-only for stability.

By using this and accessing it through CORS, I can add labels to the web UI without having to add read-write on my raspberry pi.

API

  • GET /:namespace/:key

Gets the key in the namespace.

  • PUT /:namespace/:key

Update or set the key in the namespace

  • GET /:namespace/:key

Get all of the keys in a namespace.

Readme

Keywords

Package Sidebar

Install

npm i labelstore

Weekly Downloads

1

Version

1.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • joshgordon