Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 507 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 507 Bytes

cepinator

Brazilian zip codes (CEP) microservice.

It gets CEP's from [viacep] and cache them in a redis store. It's simple and really fast.

You can run it within Docker:

docker -d run -p 3000:3000 caarlos0/cepinator

Or download a binary from releases and execute it.

Configuration

Configuration is done via environment variables:

  • PORT: port to bind to, defaults to 3000;
  • REDIS_URL: redis URL to use, defaults to :6379.