feat: helmet + env validation + storage; document RBAC and notifications - #1355
Merged
yusuftomilola merged 1 commit intoAug 25, 2026
Conversation
…cations - Add helmet headers, env validation helper, and rate-limit/security docs (closes DistinctCodes#1082) - Document the notifications module (entity, endpoints, notify service) (closes DistinctCodes#1076) - Document RBAC (UserRole, @roles, RolesGuard) usage (closes DistinctCodes#1074) - Add shared StorageService with local disk driver (S3-ready interface) (closes DistinctCodes#1068)
|
@oladev2026-tech is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@oladev2026-tech 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! 🚀 |
yusuftomilola
approved these changes
Aug 25, 2026
4 tasks
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.
Small, focused additions.
helmet()inmain.ts, add a strictvalidateEnvhelper (fails fast on missingDATABASE_URL/JWT_SECRET), and document the throttler/helmet/env-validation setup. Closes [BE-23] Add rate limiting, helmet, and strict env validation #1082notifyservice. Closes [BE-17] Implement Notifications module — entity, endpoints, and injectable notify service #1076UserRoleenum,@Roles()decorator andRolesGuardand how to apply them. Closes [BE-15] Implement RBAC — UserRole enum, @Roles() decorator, and RolesGuard #1074StorageService(local disk driver, S3-readyupload/getStream/deleteinterface). Closes [BE-09] Build shared file StorageService (local disk driver, S3-ready abstraction) #1068Closes #1082
Closes #1076
Closes #1074
Closes #1068