Description 馃洃 UdrCrafts Issues & Suggested Fixes
Issue
Location
Severity
Suggested Fix
Admin panel access open
Admin routes
馃敶 Critical
Restrict to authenticated admins (RBAC).
Weak passwords
Registration/Login
馃敶 Critical
Enforce strong passwords, hash with bcrypt/argon2.
Email validation missing
Registration/Login
馃煚 High
Add proper email format validation.
JWT secret hardcoded
Backend
馃敶 Critical
Move secret to .env, implement rotation & expiration.
No input validation
Forms/API
馃煚 High
Sanitize inputs; use Joi/Zod.
DB queries not sanitized
Backend models
馃煚 High
Use parameterized queries / Mongoose validation.
Login inactive
Home panel
馃煚 High
Fix login API and token handling.
Latest Collection button broken
Home panel
馃煛 Medium
Fix routing/link href.
Footer social links missing
Footer
馃煛 Medium
Add correct icons and URLs.
Header/Footer incomplete
Layout
馃煛 Medium
Ensure consistent rendering.
Multiple product images not supported
Admin panel
馃煚 High
Implement multi-file upload.
Order button missing
Admin panel
馃煚 High
Add order management feature.
Mixed concerns / no modularization
Backend
馃煚 High
Refactor: separate routes, controllers, services, middleware.
Debugging & onboarding difficulty
Backend
馃煛 Medium
Update docs; improve modularity.
馃挕 Suggested Next Steps
Implement RBAC for admin routes.
Enforce strong password and email validation .
Secure JWT secrets and handle token expiration.
Sanitize inputs and fix DB queries.
Fix frontend issues (buttons, footer links, header/footer).
Enhance admin panel (multi-image upload, order management).
Refactor backend structure for modularity and maintainability.
Reactions are currently unavailable
You can鈥檛 perform that action at this time.
馃洃 UdrCrafts Issues & Suggested Fixes
.env, implement rotation & expiration.馃挕 Suggested Next Steps