01: infra
This commit is contained in:
1 parent
ec9bb74be0
commit
341cd05ac5
71 files changed
+2058
-1
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# 03c: Rate Limiting Middleware
|
||||
|
||||
**What to build:** Token-based rate limiting middleware in FastAPI, extensible to Redis or Traefik later.
|
||||
|
||||
**Blocked by:** 03b (JWT Authentication Middleware)
|
||||
|
||||
**Status:** ready-for-agent
|
||||
|
||||
- [ ] Rate limiting middleware implemented (per-token limits)
|
||||
- [ ] Default rate limit configured (e.g., 100 requests/minute per token)
|
||||
- [ ] Rate limit headers exposed in responses (`X-RateLimit-Limit`, `X-RateLimit-Remaining`)
|
||||
- [ ] Rate limit exceeded response returns `429 Too Many Requests`
|
||||
- [ ] Rate limiting tests written (test client simulates multiple requests)
|
||||
Reference in new issue
Block a user