Skip to content

wesleyadriann/ubs_locations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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