https://github.com/fga-eps-mds/2020.2-lend.it-request
Microsserviço responsável pelo sistema de pedidos de empréstimos.
https://github.com/fga-eps-mds/2020.2-lend.it-request
docker docker-compose flask postgresql python
Last synced: 3 months ago
JSON representation
Microsserviço responsável pelo sistema de pedidos de empréstimos.
- Host: GitHub
- URL: https://github.com/fga-eps-mds/2020.2-lend.it-request
- Owner: fga-eps-mds
- License: mit
- Created: 2021-05-04T10:59:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-04T11:00:19.000Z (about 5 years ago)
- Last Synced: 2025-10-19T03:03:05.366Z (9 months ago)
- Topics: docker, docker-compose, flask, postgresql, python
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/Lend-it/Request/actions/workflows/black.yml) [](https://github.com/Lend-it/Request/actions/workflows/sonar.yml) [](https://github.com/Lend-it/Request/actions/workflows/commit-linter.yml) [](https://github.com/Lend-it/Request/actions/workflows/app-test.yml) [](https://sonarcloud.io/dashboard?id=Lend-it_Request)
# Request
Microsserviço responsável pelo sistema de pedidos de empréstimos.
## Ambientes
### Local
**[Disponível na porta 5002.](http://localhost:5002/)**
### Ambiente de homologação
**[Disponível no Heroku](https://lendit-request-homolog.herokuapp.com/)**
### Ambiente de produção
**[Disponível no Heroku](https://lendit-request-prod.herokuapp.com/)**
***
## Colocando no ar localmente
1. Build
```shell
make build
```
2. Executar
```shell
make run
```
2.1 Executar em background
```shell
make run-silent
```
2.2 Buildar e executar
```shell
make run-build
```
3. Desativar o container
```shell
make down
```
## Rodando os testes
```shell
make test
```
## Rodando a cobertura dos testes
```shell
make cov
```
## Acessando o banco de dados
```shell
make check-db
```
## Rodar o linter no código (Black)
```shell
make lint
```