Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 378 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 378 Bytes

nneighbors

Find'n'add nearest neighbors!

Requirements

  • docker-compose

Getting started

For running application:

$ bash setup.sh

Add someone:

$ curl -XPOST http://$(docker-machine ip):8888/add -d '{"name": "walkingpendulum", "coordinates": [0, 0]}'

Find nearest:

$ curl -XPOST http://$(docker-machine ip):8888/near -d '{"coordinates": [0, 0]}'