Sign inSign up

nassimsai/api-gateway

By nassimsai

•Updated 4 months ago

FastAPI REST + SSE gateway for the NetworkPolicy Intelligence dashboard

Image
0

270

nassimsai/api-gateway repository overview

⁠API Gateway — NetworkPolicy Intelligence System

Part of the NetworkPolicy Intelligence System (NPI)⁠.

⁠What it does

FastAPI service exposing 8 REST endpoints + 1 SSE endpoint that back the React dashboard: compliance scoring, audit findings, anomaly timeline, policy graph data, and the streaming LLM chat endpoint (/api/chat). Sits between the dashboard and TimescaleDB / LLM Service, enforcing X-API-Key authentication on every request.

⁠Tech

FastAPI · Uvicorn · psycopg2 · httpx (SSE proxying to llm-service) · Kubernetes client

⁠Quick start

docker pull nassimsai/api-gateway:v1.0-pfe2026

Requires: DATABASE_URL env var, API_KEY env var, network access to llm-service.

⁠Source & full deployment guide

https://github.com/nassim-saii/netpol-intelligence⁠

Tag summary

Content type

Image

Digest

sha256:fdf8bd78a…

Size

78 MB

Last updated

4 months ago

docker pull nassimsai/api-gateway