feat: Sentinela v0.2.0 — Brazilian Financial Data API in Go

- 20 Go source files, single 16MB binary
- SQLite + FTS5 full-text search (pure Go, no CGO)
- BCB integration: Selic, CDI, IPCA, USD/BRL, EUR/BRL
- CVM integration: 2,524 companies from registry
- Fiber v2 REST API with 42 handlers
- Auto-seeds on first run (~5s for BCB + CVM)
- Token bucket rate limiter, optional API key auth
- Periodic sync scheduler (configurable)
- Graceful shutdown, structured logging (slog)
- All endpoints tested with real data
This commit is contained in:
2026-02-10 11:15:54 -03:00
commit f7c8b446bf
28 changed files with 1763 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: build run seed clean
build:
go build -o bin/sentinela ./cmd/sentinela
run: build
./bin/sentinela
seed:
DATABASE_PATH=data/sentinela.db go run ./cmd/sentinela
clean:
rm -rf bin/ data/