Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 510 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 510 Bytes

nearest-cafe

I'm Vasya and I'm hungry. I would like to find the nearest cafes and find out they work. The nearest cafes will be displayed using my location.

Keywords: user; a cafe; The nearest cafе - cafe at a distance of up to 1 km; Route - represents 2 points (current location and building of the cafe).

Key actions: Get information about the nearest cafes.

API.

GET/ nearest-cafe?lat=:lat&long=:long - get the nearest cafe in a radius of 1000m;

GET/ cafe/:id/info - get information about the cafe.