Skip to content

Add API rate limiting - #186

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
nice-bills:feature/rate-limiting-165
Apr 25, 2026
Merged

RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
nice-bills:feature/rate-limiting-165

Conversation

@nice-bills

Copy link
Copy Markdown
Contributor

Closes #165
Adds rate limiting to all API routes with three tiers:

  • Auth endpoints (login, signup): 5 req/min
  • Write endpoints (bookmarks, notes, analytics, progress): 30 req/min
  • Read endpoints (courses, lessons): 60 req/min
    Returns standard rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) and 429 with Retry-After when exceeded.

@drips-wave

drips-wave Bot commented Apr 25, 2026

Copy link
Copy Markdown

@nice-bills Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
RUKAYAT-CODER merged commit a1773ce into rinafcode:main Apr 25, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Rate Limiting

2 participants