feat(api): adicionar endpoint para consulta de posição individual no ranking

- Novo endpoint GET /api/v1/ranking/posicao/{id_pessoa}
- Retorna posição, pontuação por bloco e total de consultores
- Para integração com frontend do ATUACAPES
This commit is contained in:
Frederico Castro
2025-12-18 05:50:11 -03:00
parent c388509acb
commit ffdd4cad2c
5 changed files with 64 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ services:
- API_HOST=0.0.0.0
- API_PORT=8000
- API_RELOAD=true
- CORS_ORIGINS=http://localhost:5173,http://frontend:5173
- CORS_ORIGINS=http://localhost:5173,http://frontend:5173,http://localhost:4200,http://127.0.0.1:4200
- LOG_LEVEL=INFO
volumes:
- ./backend/src:/app/src