API to list health basic units of Brazil.
Heroku: https://ubsapi.herokuapp.com
Swagger docs: https://app.swaggerhub.com/apis/danielalvarenga/ubs-api/1.0.0
To facilite execution with docker use script files.
Execute db:seed to import health basic units from http://dados.gov.br/dataset/unidades-basicas-de-saude-ubs.
$ ./run.sh db:create db:migrate db:seed
$ ./up.sh
For supress logs:
$ ./up.sh -d
$ ./down.sh
$ ./rspec.sh
For especific file/test:
$ ./rspec.sh ./spec/exception/custom_exception_spec.rb:21