Upload 42 files
Browse files
README.md
CHANGED
|
@@ -1,39 +1,27 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
Backend do sistema
|
| 6 |
|
| 7 |
-
##
|
| 8 |
-
|
| 9 |
-
- **FastAPI** - API REST
|
| 10 |
-
- **SQLite** - Banco de dados
|
| 11 |
-
- **BeautifulSoup** - Web scraping
|
| 12 |
-
- **Requests** - HTTP client
|
| 13 |
-
|
| 14 |
-
## Deploy
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
##
|
| 19 |
-
|
| 20 |
-
```bash
|
| 21 |
-
pip install -r requirements.txt
|
| 22 |
-
uvicorn app.main:app --reload
|
| 23 |
-
```
|
| 24 |
-
|
| 25 |
-
## Estrutura
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
│ ├── main.py # FastAPI app
|
| 31 |
-
│ ├── config.py # Configurações
|
| 32 |
-
│ ├── api/routes/ # Endpoints
|
| 33 |
-
│ ├── core/ # Database, utils
|
| 34 |
-
│ ├── models/ # SQLAlchemy models
|
| 35 |
-
│ ├── schemas/ # Pydantic schemas
|
| 36 |
-
│ └── services/ # Business logic
|
| 37 |
-
├── Dockerfile
|
| 38 |
-
└── requirements.txt
|
| 39 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Numidium
|
| 3 |
+
emoji: 🔮
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
|
| 10 |
+
# Numidium API
|
| 11 |
|
| 12 |
+
Backend do sistema de inteligência Numidium/VANTAGE.
|
| 13 |
|
| 14 |
+
## Endpoints
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
- `/docs` - Documentação Swagger
|
| 17 |
+
- `/api/v1/entities` - CRUD de entidades
|
| 18 |
+
- `/api/v1/relationships` - Conexões
|
| 19 |
+
- `/api/v1/events` - Eventos
|
| 20 |
+
- `/api/v1/search` - Busca global
|
| 21 |
+
- `/api/v1/ingest` - Ingestão de dados (Wikipedia, News)
|
| 22 |
|
| 23 |
+
## Stack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
- FastAPI
|
| 26 |
+
- SQLite
|
| 27 |
+
- BeautifulSoup (scraping)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|