Files
fast-next-template/backend/requirements.txt
Felipe Cardoso 5bed14b6b0 Add rate-limiting for authentication endpoints and health check feature
- Introduced rate-limiting to `/auth/*` routes with configurable limits using `SlowAPI`.
- Added `/health` endpoint for service monitoring and load balancer health checks.
- Updated `requirements.txt` to include `SlowAPI` for rate limiting.
- Implemented tests for rate-limiting and health check functionality.
- Enhanced configuration and security with updated environment variables, pinned dependencies, and validation adjustments.
- Provided example usage and extended coverage in testing.
2025-10-29 23:59:29 +01:00

55 lines
882 B
Plaintext

# Core FastAPI framework and dependencies
fastapi>=0.115.8
uvicorn>=0.34.0
pydantic>=2.10.6
pydantic-settings>=2.2.1
python-multipart>=0.0.19
fastapi-utils==0.8.0
# Database
sqlalchemy>=2.0.29
alembic>=1.14.1
psycopg2-binary>=2.9.9
asyncpg>=0.29.0
aiosqlite==0.21.0
# Environment configuration
python-dotenv>=1.0.1
# API documentation
email-validator>=2.1.0.post1
ujson>=5.9.0
# CORS support
starlette>=0.40.0
starlette-csrf>=1.4.5
# Rate limiting
slowapi>=0.1.9
# Utilities
httpx>=0.27.0
tenacity>=8.2.3
pytz>=2024.1
pillow>=10.3.0
apscheduler==3.11.0
# Testing
pytest>=8.0.0
pytest-asyncio>=0.23.5
pytest-cov>=4.1.0
requests>=2.32.0
# Development tools
black>=24.3.0
isort>=5.13.2
flake8>=7.0.0
mypy>=1.8.0
# Security and authentication (pinned for reproducibility)
python-jose==3.4.0
passlib==1.7.4
bcrypt==4.2.1
cryptography==44.0.1
# Testing utilities
freezegun~=1.5.1