https://github.com/keuller/tutorial-goapi
Projeto do tutorial de API com Golang
https://github.com/keuller/tutorial-goapi
Last synced: 4 months ago
JSON representation
Projeto do tutorial de API com Golang
- Host: GitHub
- URL: https://github.com/keuller/tutorial-goapi
- Owner: keuller
- Created: 2021-01-29T14:17:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T13:12:01.000Z (almost 5 years ago)
- Last Synced: 2025-03-16T12:44:18.459Z (9 months ago)
- Language: Go
- Size: 5.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tutorial-goapi
Projeto do tutorial de API com Golang.
# Stack
* Gin Framework
* Gmock
* Gomega
* PostgreSQL
## Configurando Banco
Edite o arquivo .env para ajustar os parametros de conexao do banco de dados.
## Baixando as dependencias
```shell
$ go mod download
```
## Executar em modo Desenvolvimento
```shell
$ go run cmd/main.go
```
## Executando os testes
```
$ ./scripts/cover-test.sh
```
## Gerando Binario
```shell
$ ./scripts/build.sh
```