Skip to content

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

License

Notifications You must be signed in to change notification settings

agical/express-storage

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%