https://github.com/igorbrizack/taghos-backend
Teste Técnico Backend Taghos
https://github.com/igorbrizack/taghos-backend
Last synced: about 1 month ago
JSON representation
Teste Técnico Backend Taghos
- Host: GitHub
- URL: https://github.com/igorbrizack/taghos-backend
- Owner: IgorBrizack
- Created: 2025-01-06T16:54:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-07T12:24:49.000Z (over 1 year ago)
- Last Synced: 2025-02-26T21:26:22.969Z (over 1 year ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teste Técnico de Backend Taghos
## Descrição
Desenvolvimento de API em Golang com banco de dados Postgres
(a escolha do banco de dados foi por mera familiaridade a executar trabalhos com banco de dados relacionais.)
### Clone o repositório
```bash
git clone git@github.com:IgorBrizack/taghos-backend.git
```
### Iniciando Aplicação com Docker
```bash
docker-compose up -d --build
```
### Verificando os logs do container em execução
```bash
docker logs taghos-backend_app_1
```
ou acesse via extensão do docker no VSCode.
### Acessando endpoints da API
Porta de acesso a API no seu host será 8150
#### Create Book (POST): /books
```bash
{
"title": "The Great Gatsby",
"category": "Fiction",
"author": "F. Scott Fitzgerald",
"synopsis": "A story about the American Dream and the disillusionment that comes with it during the Jazz Age in the United States."
}
```
#### Get Book (GET): /books/:id
#### List Books (GET): /books
#### Delete Book (DELETE): /books/:id
#### Update Book (PUT): /books/:id