Ryan Malloy 525c7bb511 Complete rentcache implementation with FastAPI proxy
- Comprehensive FastAPI server proxying all Rentcast API endpoints
- Intelligent caching system with soft delete and stale-while-revalidate
- Multi-backend support (SQLite, Redis) with sophisticated cache management
- Rate limiting per API key and endpoint with exponential backoff
- Rich CLI for administration: API keys, cache management, health checks
- SQLAlchemy models: CacheEntry, APIKey, RateLimit, UsageStats
- Production middleware: CORS, compression, logging, error handling
- Health and metrics endpoints for monitoring
- Complete test suite (32% coverage, model tests passing)
- Cost management with usage tracking and estimation

Features:
- Mark cache invalid instead of delete for analytics
- Serve stale cache on API errors
- Per-endpoint TTL configuration
- Rich CLI with colors and tables
- Comprehensive monitoring and analytics
2025-09-09 14:45:35 -06:00
..