0.6.3 • Published 10 years ago
hotcoffee v0.6.3
hotcoffee
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
git clone git://github.com/kr1sp1n/hotcoffee.git
cd hotcoffee
make install
Run Tests
make test
Start the example server
./node_modules/.bin/coffee example/simple_server.coffee
Usage
GET a list of all collections
curl http://localhost:1337/
Response would be an empty JSON array as long as you never added an item to any collection.
[]
POST a new item to a collection
curl -X POST -d "name=Donatello&color=purple" http://localhost:1337/turtles
Response
{
"name": "Donatello",
"color": "purple"
}
0.6.3
10 years ago
0.6.2
10 years ago
0.6.1
10 years ago
0.6.0
10 years ago
0.5.0
10 years ago
0.4.0
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.0
10 years ago
0.0.1
11 years ago