Brew you some hot micro servers
npm install hotcoffeehotcoffee
==============================





REST API that saves everything you can imagine.
You just think about a collection name and add an item to it by sending a POST request with body data.
Then you can manipulate items of a collection.
You need Node.js to run the server locally.
You can install it via nvm.
Install
-----------------------------
``bash`
git clone git://github.com/kr1sp1n/hotcoffee.git
cd hotcoffee
make install
Run Tests
-----------------------------
`bash`
make test
Start the example server
-----------------------------
`bash`
./node_modules/.bin/coffee example/simple_server.coffee
Usage
-----------------------------
`bash`
curl http://localhost:1337/
__Response__ would be an empty JSON array as long as you never added an item to any collection.
`JSON`
[]
`bash`
curl -X POST -d "name=Donatello&color=purple" http://localhost:1337/turtles
__Response__
`JSON``
{
"name": "Donatello",
"color": "purple"
}