Skip to content

caarlos0-graveyard/cepinator

Repository files navigation

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.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines.

Release Software License Travis Coverage Status Go Doc Go Report Card SayThanks.io Powered By: GoReleaser

Configuration

Configuration is done via environment variables:

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