Sample REST API for testing, ready to run with Docker.
203
A sample REST API that provides tax rates by Brazilian state (UF) and barcode, packaged as a Docker image.
Source code: https://github.com/fosbsb/tax-api
docker build -t tax-api .
docker run --rm -p 8082:8082 --name tax-api tax-api
Base URL:
http://localhost:8082
http://localhost:8082/swagger-ui.htmlhttp://localhost:8082/swagger-ui/index.htmlhttp://localhost:8082/v3/api-docshttp://localhost:8082/h2-consoleConnection settings:
jdbc:h2:mem:tax-dbsaGET /produtos – List all barcodes and their tax rates by state.GET /produto/codigoBarras/{codigoBarras} – Retrieve tax rates for a specific barcode.Content type
Image
Digest
sha256:e97e86915…
Size
150.1 MB
Last updated
7 months ago
docker pull fosbsb/tax-api