A ligthweight, hacky proof-of-concept Unhosted storage provider, based on Node.js and Redis
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 20 commits ahead of michielbdejong:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public
test
views
.gitignore
LICENSE-MIT
README.md
copy_to_parent_dir_as_config.js
grunt.js
package.json
server.js

README.md

ExpressStorage

A ligthweight, hacky proof-of-concept Unhosted storage provider, based on Node.js

Fork

This is a fork of http://github.com/5apps/express-storage

Changes include but are not necessarily limited to:

  • Removed redis dependency in favor of an in memory solution for easier testing
  • Introduced a HTTP backdoor to manipulate the store while testing

Getting Started

npm install
cp copy_to_parent_dir_as_config.js ../config.js
sudo node server.js

Documentation

HTTP Interface

In order to inspect the running, local stores in memory contents, use the following URLs:

GET http://localhost/storage

A complete dump of the memory storage, as JSON

GET http://localhost/storage/key

Dump the contents under "key" as JSON

PUT http://localhost/storage/key

Replace (or insert anew) any data mapped under "key"

Examples

(Coming soon)

Contributing

(Coming soon)

Release History

(Nothing yet)

License

Copyright (c) 2012 Michiel De Jong, Sebastian Kippe, Garret Alfert Licensed under the MIT license.