AI-powered blog platform. Event-driven microservices on k3s.
FanOut-AI/
├── application/ Build guides (01–09) + platform connections reference
├── services/ Go microservices
│ ├── auth-service/ JWT RS256 auth, Argon2id, refresh tokens
│ ├── post-service/ CRUD, Tiptap JSONB, Kafka events, S3 media
│ ├── feed-service/ Hybrid fan-out, Valkey sorted sets, KEDA
│ ├── search-service/ ANN (Milvus) + BM25 (OpenSearch) hybrid search
│ ├── analytics-service Kafka consumers, mat. views, HyperLogLog
│ └── embedding-client/ E5-large-v2 via Colab ngrok, Milvus writes
├── frontend/ Next.js 14 App Router + Tiptap editor
├── hermes/ Hermes agent config + system prefix prompt
├── colab/ Colab notebooks (embedding server, LLM server)
├── db/migration/ Flyway SQL migrations V1–V4
├── k8s/
│ ├── platform/ Per-service Deployments, Services, KEDA, PDB
│ ├── kong/ Kong DB-less declarative config
│ └── ingress-nginx/ Nginx WAF + Ingress resources
├── scripts/ One-off setup scripts (Kafka topics, OpenSearch, etc.)
└── .github/workflows/ CI (lint/test) + CD (GHCR build + push)
See application/PLATFORM_CONNECTIONS.md for all DNS names, credentials, and Kafka topic ownership.
- Run
db/migration/Flyway Job scripts/create-kafka-topics.sh- Deploy services in order: auth → post → analytics → embedding-client → search → feed → hermes
- Deploy Kong + Nginx WAF
- Deploy frontend
ghcr.io/noobed-max/fanout-ai/<service>:latest
Pull secret in cluster: ghcr-secret