feat: create issue #10 - Rate Limiting
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
e0c2658574
commit
8199ed29af
1 changed files with 25 additions and 0 deletions
25
ISSUE-10.md
Normal file
25
ISSUE-10.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
## Issue #10: Implement Rate Limiting
|
||||
|
||||
### Description
|
||||
|
||||
Implement rate limiting to protect the API from abuse and ensure fair usage among users.
|
||||
|
||||
### Acceptance Criteria
|
||||
|
||||
- [ ] Configure rate limiting middleware
|
||||
- [ ] Define rate limits for different endpoints
|
||||
- [ ] Add logging for rate limit violations
|
||||
- [ ] Allow configuration of limits via environment variables
|
||||
- [ ] Ensure legitimate users are not affected by limits
|
||||
|
||||
### Tasks
|
||||
|
||||
- [ ] Install and configure express-rate-limit middleware
|
||||
- [ ] Define default rate limits
|
||||
- [ ] Implement configurable limits via .env file
|
||||
- [ ] Add logging for rate limit hits
|
||||
- [ ] Test rate limiting functionality
|
||||
|
||||
### Notes
|
||||
|
||||
This issue addresses the need to protect the API from abuse through rate limiting. The implementation will use express-rate-limit middleware to configure different rate limits for various endpoints, with configuration via environment variables to allow easy adjustment without code changes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue