perf(ranking): otimizar paginação usando Oracle direto

- Remover carregamento de 350k registros em memória no startup
- Refatorar endpoints para buscar dados direto do Oracle:
  - ranking_paginado
  - buscar_por_nome
  - ranking_estatisticas
  - obter_posicao_ranking
- Adicionar healthcheck leve no Oracle com start_period de 60s
- Corrigir start-ngrok.sh para subir todos os containers
- Adicionar domínio ngrok-free.dev no vite.config.js
This commit is contained in:
Frederico Castro
2025-12-21 22:22:58 -03:00
parent d4aa75ca0b
commit 7d73510101
5 changed files with 113 additions and 186 deletions

View File

@@ -6,7 +6,7 @@ export default defineConfig({
server: {
host: '0.0.0.0',
port: 5173,
allowedHosts: ['.ngrok-free.app', 'localhost', '127.0.0.1'],
allowedHosts: ['.ngrok-free.app', '.ngrok-free.dev', 'localhost', '127.0.0.1'],
proxy: {
'/api': {
target: 'http://backend:8000',