mvrilo / cepd

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcodes)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cepd

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcode).

Building

cargo build --release

HTTP API

GET /q/:postalcode

Example:

curl -sf http://localhost:3000/q/01311200 | jq
{
  "postalcode": "01311-200",
  "address": "Avenida Paulista",
  "complement": "de 1047 a 1865 - lado ímpar",
  "neighborhood": "Bela Vista",
  "city": "São Paulo",
  "state": "SP"
}

About

cepd is a small and fast caching proxy-server for CEP records (brazilian postalcodes)

License:MIT License


Languages

Language:Rust 100.0%