Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
dumbdb ain't couchdb. dumbdb_srv ain't couchdb either, but attempts a close-enough HTTP interface.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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"}

Something went wrong with that request. Please try again.