Skip to content

backend: implement rate limiting for public profile endpoints#72

Open
parthpatidar03 wants to merge 1 commit into
Dev-Card:mainfrom
parthpatidar03:backend-rate-limiting
Open

backend: implement rate limiting for public profile endpoints#72
parthpatidar03 wants to merge 1 commit into
Dev-Card:mainfrom
parthpatidar03:backend-rate-limiting

Conversation

@parthpatidar03
Copy link
Copy Markdown
Contributor

Summary

closes #26
Protect public-facing endpoints from abuse and scraping using @fastify/rate-limit.

Tasks

  • Install and register @fastify/rate-limit.
  • Set 100 req/min limit for profile and card viewing.
  • Set 50 req/min limit for resource-intensive QR generation.

Copilot AI review requested due to automatic review settings May 10, 2026 21:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@ShantKhatri
Copy link
Copy Markdown
Contributor

@parthpatidar03 Please fix these merge conflicts.

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 17, 2026
@Harxhit
Copy link
Copy Markdown
Collaborator

Harxhit commented May 17, 2026

Hey, @parthpatidar03 Please join the DevCard community for better communication.
Discord - https://discord.gg/cTpXtEyqd

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

Labels

gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

backend: implement rate limiting middleware for public profile endpoints

4 participants