Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 654 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 654 Bytes

UBS locations

Search UBS (Unidades Básicas de Saúde - Basic Health Units) using latitude and longitude in max range

Run

Node

npm install
npm start

Docker

docker build -t ubs_locations .
docker run -p 3000:3000 ubs_locations

Example

curl --location --request GET 'http://localhost:3000' \
--header 'latitude: -15.801225' \
--header 'longitude: -47.884101' \
--header 'range: 5'

Obs: range is in kilometers

Data