Update system status with CORS configuration

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 <[email protected]>
This commit is contained in:
John Patrick TeruelandCopilot committed 2026-04-24 21:13:23 +08:00
1 parent 186cd4cc7c
commit bb7af74c77
1 file changed
+4 -1
+4 -1
View File
@@ -109,6 +109,7 @@ The consumer will:
- **Port**: 3000 - **Port**: 3000
- **Status**: Running in Docker container, serving static assets - **Status**: Running in Docker container, serving static assets
- **API calls**: Uses `http://localhost:8000` (from browser context) - **API calls**: Uses `http://localhost:8000` (from browser context)
- **CORS**: ✅ Fully configured - frontend can make API calls
### API (FastAPI) ### API (FastAPI)
- **Location**: `api/main.py` with Dockerfile - **Location**: `api/main.py` with Dockerfile
@@ -119,6 +120,7 @@ The consumer will:
- Transaction validation - Transaction validation
- Kafka integration (lazy-initialized) - Kafka integration (lazy-initialized)
- Redis caching support - Redis caching support
- ✅ CORS enabled for http://localhost:3000
### Kafka & Zookeeper ### Kafka & Zookeeper
- **Status**: Running, healthy, fully operational - **Status**: Running, healthy, fully operational
@@ -211,10 +213,11 @@ docker compose exec kafka kafka-broker-api-versions --bootstrap-server localhost
## Commits ## 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 6749318 - Fix frontend API URL - use localhost instead of Docker DNS
53afc9e - Fix Docker build issues - Complete working solution! 53afc9e - Fix Docker build issues - Complete working solution!
c260f14 - Add FastAPI backend to docker-compose c260f14 - Add FastAPI backend to docker-compose
982b70a - Add frontend service to docker-compose.yml
... ...
``` ```