An open API service indexing awesome lists of open source software.

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

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
```