https://github.com/caiofov/desafio-insight
https://github.com/caiofov/desafio-insight
fastapi python
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/caiofov/desafio-insight
- Owner: caiofov
- Created: 2024-06-06T19:53:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T01:23:40.000Z (about 2 years ago)
- Last Synced: 2025-02-13T04:31:21.369Z (over 1 year ago)
- Topics: fastapi, python
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Desafio Insight - Dev Full-Stack Python
> [Edital](https://www.insightlab.ufc.br/wp-content/uploads/2024/05/Projeto-Cultura-Dev-Full-Stack-Python.pdf)
A solução foi desenvolvida em Python utilizando FastAPI com Uvicorn. Foram utilizadas as seguintes APIs externas:
- [IBGE Localidades](https://servicodados.ibge.gov.br/api/docs/localidades)
- [IBGE Nomes](https://servicodados.ibge.gov.br/api/docs/nomes?versao=2)
## Como executar
- Inicializar o Poetry
```shell
poetry install
```
- Rodar o arquivo Python `src/app/main.py` dentro do ambiente virtual
- Abrir `http://localhost:9000/docs` no navegador para acessar o Swagger, no qual todos os endpoints estão documentados e podem ser testados.