dumbdb ain't couchdb. dumbdb_srv ain't couchdb either, but attempts a close-enough HTTP interface.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
dumbdb_srv.js
package.json
test1.js
web_interface.css
web_interface.html
web_interface.js

README.md

dumbdb_srv.js

Summary

HTTP API for dumbdb](https://github.com/JosePedroDias/dumbdb). Kinda inspired on couchdb.

TODO

  • improve this doc ASAP

API

GET /

{"msg":"hello from dumbdb"}


POST /person

{"status": ok", "msg":"collection person created."}


GET /person

[]


POST /person {"name":"Johnny Bravo", "age":33}

{"name":"Johnny Bravo", "age":33, "_id":"1"}


GET /person/1

{"name":"Johnny Bravo", "age":33, "_id":"1"}


GET /person/1/delete

{"status":"ok"}