Skip to content

jeremybenaim/express-leveldb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-leveldb

Sample app using:

Search engine

You need a standard setup (i.e. on port 9200) of elasticsearch on your local environment. http://www.elasticsearch.org/guide/reference/setup/

Elasticsearch-head might be pretty useful too to get started.

Search urls :

http://localhost:3000/search/users/name=test
http://localhost:3000/search/autocomplete/users/name=t

would returns (supposing you created a user whose name would be "test")

{
count: 1,
data: [
    {
      _id: "f96f2d30-6fdb-11e2-883a-07e723a59b23",
        data: {
        name: "test"
      }
    }
  ]
}

About

Sample app using express and leveldb (thru levelup)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published