Repository navigation
feat: CORS headers, db query caching, global rate limit, request validation - #502
Merged
ritaifeoluwa merged 2 commits intoOct 17, 2026
Conversation
…dation - SmartDropLabs#453: Add exposedHeaders for X-Request-Id and rate limit headers, add PUT method and additional allowed headers to CORS config - SmartDropLabs#452: Add dbCache.js with cachedQuery wrapper for database query caching with Redis backend, configurable TTL, and cache invalidation support - SmartDropLabs#451: Add global rate limit middleware applied to ALL requests (not just /api/v1) to prevent abuse of non-API routes - SmartDropLabs#450: Add requestValidation middleware to reject POST/PUT/PATCH without proper Content-Type and validate JSON content type
|
@chukwuemekarita 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes
Closes #450
Closes #451
Closes #452
Closes #453
What changed