- Complete mock API server with all Rentcast endpoints - Static test API keys with different tiers and limits - Rate limiting simulation for testing - Docker service configuration for mock API - Integration tests using mock API - Configuration support for switching between real/mock APIs - Test script to verify mock API functionality - Comprehensive documentation for mock API usage Test API Keys: - test_key_free_tier: 50 daily limit - test_key_basic: 100 daily limit - test_key_pro: 1000 daily limit - test_key_enterprise: 10000 daily limit - test_key_rate_limited: 1 daily limit (for testing) - test_key_invalid: For testing auth errors
33 lines
676 B
Plaintext
33 lines
676 B
Plaintext
# Project Configuration
|
|
COMPOSE_PROJECT=mcrentcast
|
|
DOMAIN=mcrentcast.localhost
|
|
|
|
# Environment Mode
|
|
MODE=development # development or production
|
|
|
|
# Rentcast API
|
|
RENTCAST_API_KEY=your_rentcast_api_key_here
|
|
RENTCAST_BASE_URL=https://api.rentcast.io/v1
|
|
|
|
# Mock API Settings (for testing)
|
|
USE_MOCK_API=false
|
|
MOCK_API_URL=http://mock-rentcast-api:8001/v1
|
|
|
|
# Rate Limiting
|
|
DAILY_API_LIMIT=100
|
|
MONTHLY_API_LIMIT=1000
|
|
REQUESTS_PER_MINUTE=3
|
|
|
|
# Cache Settings
|
|
CACHE_TTL_HOURS=24
|
|
MAX_CACHE_SIZE_MB=100
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite:///./data/mcrentcast.db
|
|
|
|
# MCP Server
|
|
MCP_SERVER_PORT=3001
|
|
|
|
# Frontend
|
|
PUBLIC_DOMAIN=mcrentcast.localhost
|
|
PUBLIC_API_URL=https://api.mcrentcast.localhost |