amupedia-web icon indicating copy to clipboard operation
amupedia-web copied to clipboard

Enhancement: Improve Error Handling, Input Validation, and Security in User Routes

Open Sameer413 opened this issue 9 months ago • 5 comments

I propose several enhancements to the user routes in our Express.js application to improve error handling, input validation, and security.

Suggestions for Improvement:

Error Handling Improvement: Enhance error messages to provide more descriptive information, giving users a clearer understanding of encountered issues.

Input Validation: Implement robust input validation to ensure that only valid data is accepted by the routes. This includes validating user IDs, passwords, and any other user input.

@anmode , I'm interested in working on this issue. Could you please assign it to me? I'll start working on the suggested enhancements right away. Thank you!

Sameer413 avatar May 12 '24 06:05 Sameer413

Hello @Sameer413! Thank you for raising this issue.

Please make sure to follow our Contributing Guidelines. 💪🏻 Don't forget to ⭐ our Project-Amupedia. 📔

Our review team will carefully assess the issue and reach out to you soon! 😇 We appreciate your patience! 😀

github-actions[bot] avatar May 12 '24 06:05 github-actions[bot]

@Sameer413 need to check server folder test api and could add input validations is it okay for you ?

Ja3mamtora avatar May 19 '24 17:05 Ja3mamtora

Can I work on this issue??

amanjaiswal7236 avatar May 22 '24 06:05 amanjaiswal7236

yupp go ahead @amanjaiswal7236

Ja3mamtora avatar May 22 '24 06:05 Ja3mamtora

Can I use Zod for Input validation?

amanjaiswal7236 avatar May 22 '24 07:05 amanjaiswal7236