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.
# Clone the repo (example)
$ git clone [email protected]:bompi88/easy-search-leaderboard.git
$ cd easy-search-leaderboard
# Install npm packages
$ npm install
Be sure to start elasticsearch 5.x at port 9200 before running:
$ npm run start