Files
foxhunt/services/api_gateway/README.md
jgrusewski e2a0576ef5 docs: create/update README.md for all services, CLI, and testing crates
Create 3 missing service READMEs (api_gateway, data_acquisition_service,
trading_agent_service). Create bin/fxt/README.md. Create
testing/service-integration/README.md. Update existing service and testing
READMEs to standard template. Delete 4 subdirectory READMEs from
testing/integration/ and testing/e2e/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 22:50:38 +01:00

22 lines
674 B
Markdown

# api_gateway
API Gateway service with 6-layer authentication, RBAC, rate limiting, and gRPC proxy routing.
## Key Types
- `ApiGatewayService` -- main service implementation
- `RoleBasedAccessControl` -- RBAC authorization
- `RateLimiter` -- 3-tier rate limiting (auth/trading/compute)
- `CircuitBreaker` -- upstream service protection
## Configuration
- `JWT_SECRET` -- JWT signing secret (min 32 chars)
- `UPSTREAM_TRADING_URL` -- trading service gRPC endpoint
- `UPSTREAM_ML_URL` -- ML service gRPC endpoint
## Features
- `mfa` (default) -- multi-factor authentication support
- Build without: `cargo check -p api_gateway --no-default-features --features minimal`