Leaderboard example which utilizes EasySearch and ElasticSearch. This package illustrates how mapping can be set on index creation time and how aggregations can be used with ElasticSearch.
Installation
# Clone the repo (example)
$ git clone git@github.com:bompi88/easy-search-leaderboard.git
$ cd easy-search-leaderboard
# Install npm packages
$ npm install
Run
Be sure to start elasticsearch 5.x at port 9200 before running:
$ npm run start