-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enhance User Registration and Email Notification #56
Conversation
… hashing, and database integration
…wanda/knights-ecomm-be into feature-user-registration
Pull Request Test Coverage Report for Build 8949538426Details
💛 - Coveralls |
src/controllers/index.ts
Outdated
import { UserController } from './authController'; | ||
import { registerUser } from './authController'; | ||
|
||
export{UserController}; No newline at end of file | ||
export{registerUser}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, we should put all our the functions related to the user in one file for userAuth, It will be better for accessibility thats why am exporting by name . beacuse having a file for every function would make the project cloudy
|
||
const registerUser = async (req: Request, res: Response) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use export const registerUser
You won't need to export like this export {registerUser }
… hashing, and database integration
…wanda/knights-ecomm-be into feature-user-registration
Enhance User Registration and Email Notification
Description:
This PR introduces several enhancements to the user registration process and the email notification system.
User Registration Updates:
Email Notification Function: