Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sameer413 opened this issue May 12, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request gssoc24 This label is for Girls Script Summer of Code 2024

Comments

@Sameer413
Copy link

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!

Copy link

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! 😀

@Ja3mamtora
Copy link
Collaborator

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

@Ja3mamtora Ja3mamtora added gssoc24 This label is for Girls Script Summer of Code 2024 enhancement New feature or request labels May 19, 2024
@amanjaiswal7236
Copy link

Can I work on this issue??

@Ja3mamtora
Copy link
Collaborator

yupp go ahead @amanjaiswal7236

@amanjaiswal7236
Copy link

Can I use Zod for Input validation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc24 This label is for Girls Script Summer of Code 2024
Projects
None yet
Development

No branches or pull requests

3 participants