An open API service indexing awesome lists of open source software.

https://github.com/activesphere/nodetoolbox

node.js toolbox
https://github.com/activesphere/nodetoolbox

Last synced: over 1 year ago
JSON representation

node.js toolbox

Awesome Lists containing this project

README

          

-----------------------------
Random stuff that i tend to use often

Conf.metadataDatabase.view('categories/all', {reduce:false}, function(err, res){console.log('got it')})

curl -XPUT 'localhost:9200/_river/registry/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "registry",
"user": "activesphere",
"password": "******",
"ignore_attachments":true,
"filter" : null
},
"index" : {
"index" : "registry",
"type" : "registry",
"bulk_size" : "100",
"bulk_timeout" : "10ms"
}
}'

curl -XGET 'http://localhost:9200/registry/_search?pretty=true' -d '
{
"query" : {
"matchAll" : {}
}
}'

curl -XGET 'http://localhost:9200/registry/_search?pretty=true' -d '
{
"query" : {
"text" : { "description": "directories" }
}
}'