Skip to content

Add API Rate Limiting per User #3

Description

@Mkalbani

Description

Implement per-user rate limiting (not just IP-based).

Current State

  • Global rate limit exists (10 req/min)
  • Need user-specific limits

Acceptance Criteria

  • Free users: 100 requests/hour
  • Authenticated users: 1000 requests/hour
  • Return proper 429 status with retry-after header
  • Document in README

Tech Stack

  • Use @nestjs/throttler
  • Store limits in Redis (optional for MVP)

ETA: 6 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions