To prevent abuse and manage costs (especially for the Hugging Face Space and Supabase), we need to implement rate limiting on the core API endpoints
Tasks:
Add slowapi or FastAPI's built-in rate limiter middleware.
Configure limits (e.g., 20 scans per minute per user).
Ensure appropriate 429 Too Many Requests responses are sent to the frontend.
To prevent abuse and manage costs (especially for the Hugging Face Space and Supabase), we need to implement rate limiting on the core API endpoints
Tasks:
Add slowapi or FastAPI's built-in rate limiter middleware.
Configure limits (e.g., 20 scans per minute per user).
Ensure appropriate 429 Too Many Requests responses are sent to the frontend.