No description
Find a file
valentinbvro 9956b120d0 feat: point company search and contact match at real ClickHouse data
/companies/search queried a nonexistent 'companies' table; now queries
stg_apollo_organizations (5.26M organizations, typed/normalized layer).
/contacts/match queried a nonexistent 'contacts' table; now queries
apollo_persons_raw with LIKE matching, since emails/phone_numbers are
still raw list-repr text there -- exact matching needs a stg_apollo_persons
layer that doesn't exist yet.
2026-07-21 19:27:06 +02:00
app feat: point company search and contact match at real ClickHouse data 2026-07-21 19:27:06 +02:00
.env.example fix: use clickhouse-connect HTTP host/port instead of a native-protocol DSN string 2026-07-21 01:05:43 +02:00
.gitignore feat: scaffold FastAPI intelligence-api with ClickHouse client, company/contact search endpoints 2026-07-20 22:45:02 +02:00
Dockerfile feat: scaffold FastAPI intelligence-api with ClickHouse client, company/contact search endpoints 2026-07-20 22:45:02 +02:00
README.md feat: scaffold FastAPI intelligence-api with ClickHouse client, company/contact search endpoints 2026-07-20 22:45:02 +02:00
requirements.txt feat: scaffold FastAPI intelligence-api with ClickHouse client, company/contact search endpoints 2026-07-20 22:45:02 +02:00

intelligence-api

FastAPI pentru Data-Intelligence: cautare companii/persoane, matching contacte, scoring, statistici — peste ClickHouse.

Stack

FastAPI, Uvicorn, Pydantic, clickhouse-connect, Polars, DuckDB, PyArrow, psycopg, Redis, rapidfuzz, phonenumbers, email-validator, orjson.

Dezvoltare

pip install -r requirements.txt
cp .env.example .env
uvicorn app.main:app --reload

GET /health returneaza statusul serviciului. GET /docs expune Swagger UI (automat din FastAPI).