Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions modulo6/case-amaro-backend-v2/ jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
roots: ["<rootDir>/tests"],
transform: {
"^.+\\.tsx?$": "ts-jest",
},
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
}
5 changes: 5 additions & 0 deletions modulo6/case-amaro-backend-v2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.env
.DS_STORE
node_modules
build
coverage
46 changes: 46 additions & 0 deletions modulo6/case-amaro-backend-v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Amaro Back-End Challenge 👕
👖

## 🚀 Descrição do Projeto

O projeto é um case proposto pela empresa Amaro, e consiste na criação de uma API para cadastro e consulta de produtos. O deploy foi feito no Render e os endpoints foram testados no Postman.

## 📋 Funcionalidades

- O sistema permite de forma simplificada, a consulta de produtos por: id, nome ou tags. Caso a consulta seja por uma tag ou nome, sera exibida a lista com todos os produtos com aquela respectiva busca.

## 🔗 Link para a documentação no Postman
[Postman](https://documenter.getpostman.com/view/21554400/2s8YK4t7pC) :link:


### 🔧 Configurações de Ambiente / Instalação

Para rodar o projeto na máquina local é necessário rodar os seguintes comandos:

##### `cd ../case-backend-amaro`

##### `npm install`
```
#### `npm start`
```

Por padrão a aplicação rodará localmente na porta 3000.

## 🛠️ Tecnologias Utilizadas

- [TypeScript](https://www.typescriptlang.org/)
- [Node.JS](https://nodejs.org/en/)
- [Knex](https://knexjs.org/) -
- [Render](https://render.com/) -
- [Jest](https://jestjs.io/) -

## Repositório com o desafio proposto

https://github.com/amaroteam/back-end-challenge


## AUTOR

Bruno Monteiro | https://github.com/Brunomon2812
--------- | ------
[<img src="https://avatars.githubusercontent.com/Brunomon2812" width="75px;"/>](https://github.com/Brunomon2812) | [Bruno Monteiro](https://github.com/Brunomon2812)
5 changes: 5 additions & 0 deletions modulo6/case-amaro-backend-v2/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading