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

[feat]: Improve auth_controller.js file #283

Open
Yash-Vashishth opened this issue Oct 9, 2024 · 1 comment
Open

[feat]: Improve auth_controller.js file #283

Yash-Vashishth opened this issue Oct 9, 2024 · 1 comment

Comments

@Yash-Vashishth
Copy link

Hi @ankit071105, your site is really great!! I just wanted to change some elements of (Ticket-Booking-main1/server/controllers/v1/auth_controller.js) file. so that it can:-

  1. Contain JSDoc comments for better documentation.
  2. Have consistent use of const for variable declarations.
  3. Have used environment variables for JWT secret.
  4. Improved error messages for clarity.
  5. Centralized error handling through an asyncHandler.

I have a code ready for this. Could u pls assign me this issue so that I can make the necessary changes.
(Note- Please also add the hacktoberfest and gssoc-ext tags to the issue and also label it lvl 2 since I needed to identify each and every minute elementary changes and right them)

Thanks,
Yash Vashishth
(Contributor, GSSoC'24(Extd) and Hacktoberfes'24)

Copy link

github-actions bot commented Oct 9, 2024

👋 Thank you @Yash-Vashishth for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant