/CloudStorage-Server

Simple backend for storing key/value pairs via http requests. Implemented with Node.js and MongoDB. Made for IOT projects.

Primary LanguageJavaScriptMIT LicenseMIT

Dependencies Dev Dependencies Maintainability Build Status

CloudStorage Server v0.6

Simple backend for storing key/value pairs via http requests. Implemented with Node.js and MongoDB. Made for IOT projects. The server can store any type of json compatible data (primitives, objects, arrays); View the Arduino Client: Arduino-CloudStorage

Supported Operations:

User Operations:
  • Register (GET/POST for ui or backend interface)
Object Operations:
  • Set/Get single keys
  • Set/Get multiple keys
Collection Operations:
  • Push item to an array
  • Pop from front/back of array
  • Fetch elements from start or end (With skip and limit)
Aggregations:
  • Get the min/max/unique/merged/average items from a collection
Atomics:
  • Increment/Decrement an item
  • Update an item if it is smaller/bigger than provided value (server-side min/max)
  • Set key to hold current time in millis (server side)

Real time updates:

  • watch for changes in real time using a websockets interface