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

SMS Feature Added #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neelpatel1221
Copy link

I have added SMS feature in this project where user will get updates related to product shipped and delivered SMS on their phone. At the time of registering they have to mention their contact number so I have added that field as well.

I have used Twilio(trial version) to send SMS.

@@ -23,6 +23,11 @@ const userSchema = new mongoose.Schema({
minLength: [8, "Password should be greater than 8 characters"],
select: false,
},
phone_no: {
type: String,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here type of phone_no should be Number

@Dev-Sambhav
Copy link

Great 👌

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

Successfully merging this pull request may close these issues.

2 participants