From bb7af74c772bb6e5897ffe27fc034d6b79fb001e Mon Sep 17 00:00:00 2001 From: John Patrick Teruel Date: Fri, 24 Apr 2026 21:13:23 +0800 Subject: [PATCH] Update system status with CORS configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documented CORS support: - Frontend at http://localhost:3000 can now make API calls - API at http://localhost:8000 allows requests from frontend origin - CORS headers properly configured and verified working Status: All 5 services running and fully operational - Frontend: ✅ Healthy - API: ✅ Healthy with CORS support - Kafka: ✅ Healthy - Redis: ✅ Healthy - Zookeeper: ✅ Running System ready for end-to-end fraud detection testing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- SYSTEM_STATUS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SYSTEM_STATUS.md b/SYSTEM_STATUS.md index b0638fa..e54d08c 100644 --- a/SYSTEM_STATUS.md +++ b/SYSTEM_STATUS.md @@ -109,6 +109,7 @@ The consumer will: - **Port**: 3000 - **Status**: Running in Docker container, serving static assets - **API calls**: Uses `http://localhost:8000` (from browser context) +- **CORS**: ✅ Fully configured - frontend can make API calls ### API (FastAPI) - **Location**: `api/main.py` with Dockerfile @@ -119,6 +120,7 @@ The consumer will: - Transaction validation - Kafka integration (lazy-initialized) - Redis caching support + - ✅ CORS enabled for http://localhost:3000 ### Kafka & Zookeeper - **Status**: Running, healthy, fully operational @@ -211,10 +213,11 @@ docker compose exec kafka kafka-broker-api-versions --bootstrap-server localhost ## Commits ``` +186cd4c - Add CORS support for frontend on localhost:3000 +78a73ac - Add comprehensive system status documentation 6749318 - Fix frontend API URL - use localhost instead of Docker DNS 53afc9e - Fix Docker build issues - Complete working solution! c260f14 - Add FastAPI backend to docker-compose -982b70a - Add frontend service to docker-compose.yml ... ```