/ubs_locations

📍 search UBS from csv using latitude and longitude in max range

Primary LanguageJavaScriptMIT LicenseMIT

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