https://github.com/waelson/go-temperatura-cep
https://github.com/waelson/go-temperatura-cep
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/waelson/go-temperatura-cep
- Owner: Waelson
- License: apache-2.0
- Created: 2024-03-13T00:29:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T22:32:14.000Z (about 2 years ago)
- Last Synced: 2025-02-24T15:22:07.418Z (over 1 year ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Projeto
Projeto para consulta de temperatura baseado nno CEP
### Pré Requisitos
Golang 1.22.1
### Como executar?
```
docker-compose up --build
```
Acesse a URL abaixo
```
http://localhost:8080?cep=
```
### Cenários de Teste
Sucesso (200)
```
http://localhost:8080?cep=64770000
```
Cep inválido (422)
```
http://localhost:8080?cep=647700
```
Cep não encontrado (404)
```
http://localhost:8080?cep=00000000
```
### Google Cloud Run
Endereço de teste
```
https://go-temperatura-cep-g4wj6iiisa-uc.a.run.app/?cep=64770000
```