All Projects → maxogden → plummet

maxogden / plummet

Licence: MIT license
node point javascript server for plumbdb

Programming Languages

javascript
184084 projects - #8 most used programming language

streaming + syncing http + json api for PlumbDB (which is built on leveldb)

npm install plummet


var plummet = require('plummet')

plummet('test', function(err, server) {
  server.listen(8000)
  console.log('plummeting on 8000')
})


curl -X POST http://localhost:8000 -H "Content-type: application/json" -d '{"pizza":"waffle"}'
curl -X POST http://localhost:8000/_bulk -d '{"docs":[{"hello":"world"}, {"foo":"bar"}]}' -H "Content-type: application/json"
curl http://localhost:8000/_changes
curl http://localhost:8000/_changes?since=1339537769596014
curl http://localhost:8000/1339537769596014
curl -X POST http://localhost:8000/_pull -d '{"source":"http://remoteplummet"}' -H 'content-type: application/json'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].