Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Rate Limiting for API Endpoints #3

Open
GautamAnjali569 opened this issue Jan 25, 2025 · 0 comments
Open

Implement Rate Limiting for API Endpoints #3

GautamAnjali569 opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request IWOC2025 Medium

Comments

@GautamAnjali569
Copy link
Member

Description

Add rate limiting to prevent abuse and protect the API from brute-force attacks by limiting the number of requests a user can make within a given timeframe.

Steps to Implement

  1. Install and configure the express-rate-limit package.
  2. Set up rate limits for key API routes (e.g., login, registration).
  3. Ensure that error messages are returned when limits are exceeded.

Expected Outcome

Users can make a limited number of requests per time period, improving security.

Resources

@Durgesh4993 Durgesh4993 added enhancement New feature or request Medium IWOC2025 labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request IWOC2025 Medium
Projects
None yet
Development

No branches or pull requests

2 participants