Тёмный

Node.js Express Project to Send OTP SMS Messages to Mobile Number Using Fast2SMS API in Javascript 

Coding Shiksha
Подписаться 37 тыс.
Просмотров 20 тыс.
50% 1

Buy the full source code of the application at Paypal in USD Currency here:
procodestore.c...
#fast2sms #nodejs #express
Visit my Online Free Media Tool Website
freemediatools...
Buy Premium Scripts and Apps Here:
procodestore.com/
Welcome Folks My name is Gautam and Welcome to Coding Shiksha a Place for All Programmers. You can learn Web Development and Programming Tutorials.
Donate to Our RU-vid Channel at :
www.instamojo....
Subscribe for more Videos: / @codingshiksha
Watch next -
[Popular Videos on the Channel]
[Login with Google Account using Javascript]
• Login With Google Acco...
[What is AJAX and How it Works | Short Tutorial for Beginners]
• What is AJAX and How i...
[Javascript Fetch Api Example]
• Javascript Fetch Api E...
[jsPDF Tutorial | PDF Library in Javascript]
• jspdf tutorial
[RU-vid Data API V3 App in 1 Hour]
• RU-vid Data v3 API Ap...
[AngularJS CRUD Application]
• AngularJS CRUD Applica...
[Uploading Files using Google Drive Api]
• Google Drive API V3 - ...
Recommended Playlist -
[Build a CRUD Applicaiton in VUE and Firebase]
• Build a CRUD Applicati...
[MongoDB Tutorial for Absolute Beginners]
• Video
[Building a Playlist Search App using RU-vid Data Api v3]
• Video
[Secure Login System in PHP & MYSQL]
• How to make a login/re...
[Real Time Chatting App in Socket.io and Express]
• socket.io chat app usi...

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@mohammedabdulaziz3658
@mohammedabdulaziz3658 2 года назад
In every video, you explain in a good manner taking real-time examples showing us. How to integrate packages and other stuff. It's really helpful sir.. Thank you sir for teaching us with the real-time scenarios...
@CodingShiksha
@CodingShiksha 2 года назад
Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848
@prathamrajgor
@prathamrajgor 2 года назад
Unable to send message. Whenever I run the sendMessage function its returns the value as undefined instead of 'Message Sent Successfully'. A few months ago the same code was working when i was using it for a different project. but now the same code is throwing error. i've followed every step of yours and my code is literally same as yours.
@maheshsoni6975
@maheshsoni6975 2 года назад
Hey! can you help me?....I can't get the sms...but on the cmd it's saying as "Message sent Successfully".
@prathamrajgor
@prathamrajgor 2 года назад
@@maheshsoni6975 that's because you will have to add 100 rs balance first to your fast 2 sms account to start using the service.
@maheshsoni6975
@maheshsoni6975 2 года назад
@@prathamrajgor but in this video....he didn't mention about adding of 100 rs.
@maheshsoni6975
@maheshsoni6975 2 года назад
Oh you are right bro thanks 😊
@CodingShiksha
@CodingShiksha Год назад
Hi Please checkout my Coding Shiksha Android Play Store please check out my apps published and install the apps and give some feedback if it's great here is the link for my google play developer page: bit.ly/3YIVgQP
@rahulnellepalli8406
@rahulnellepalli8406 2 года назад
bro this is like my first comment ever in RU-vid heartful thanx man
@CodingShiksha
@CodingShiksha 2 года назад
Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848
@MahmoudYhya
@MahmoudYhya 2 года назад
I really like your simplicity in everything such explaining and the camera you're using, I hope that you success in everything in your life, Thanks a lot man for your videos
@CodingShiksha
@CodingShiksha 2 года назад
Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848
@higiniofuentes2551
@higiniofuentes2551 Год назад
Thank you for this very useful video!
@kumarhemant7709
@kumarhemant7709 2 года назад
Sir I caught an Error in this code please solve it error is :- Type error : Cannot read properties of undefined (reading’join’)
@CodingShiksha
@CodingShiksha Год назад
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
@sameerverma2607
@sameerverma2607 2 месяца назад
i also
@AJAYTHAKUR-bu6nz
@AJAYTHAKUR-bu6nz 3 месяца назад
can anyone help me my code is same as in video but on console its empty not showing response and even SMS
@THE-HAZIK
@THE-HAZIK 3 месяца назад
same
@yogeshpatil9642
@yogeshpatil9642 Год назад
not work properly ... promise in pending state even use .then async/await .promise()
@shubhamjaiswal5077
@shubhamjaiswal5077 11 месяцев назад
You are explaning really nice. why don't you create porper full video of authentication using numner and may be create a signup if login success and all
@shobitgupta1683
@shobitgupta1683 5 месяцев назад
50001 rupees for source code are u serious bro you are selling code or gold?
@maheshsoni6975
@maheshsoni6975 2 года назад
When I run as " node index.js" It's saying "undefined" then "message sent successfully" but didn't get message on my phone. Pls help me sir 5:02
@arun7451
@arun7451 2 года назад
I am also get like that only...
@aafan.kuware
@aafan.kuware 2 года назад
@@arun7451 try our API
@maheshsoni6975
@maheshsoni6975 2 года назад
@@arun7451 You'll have to add 100 rs or more to start the service
@CodingShiksha
@CodingShiksha Год назад
Hi Please checkout my Coding Shiksha Android Play Store please check out my apps published and install the apps and give some feedback if it's great here is the link for my google play developer page: bit.ly/3YIVgQP
@aakashverma6406
@aakashverma6406 2 года назад
Hi bro I want to ask that passing message inside option variable it is approved by dlt platform.
@CodingShiksha
@CodingShiksha Год назад
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
@pralanvideos9631
@pralanvideos9631 10 месяцев назад
It is asking us to pay 1st. Is it ?
@lonewaters
@lonewaters Год назад
greate tutorial
@Only_Coders
@Only_Coders Год назад
TypeError: Cannot read properties of undefined (reading 'data') getting this anyone has any words for this
@lordesca4364
@lordesca4364 9 месяцев назад
I am getting the same error and after some time of doing the same thing the error got vanished
@rajeshsukheja4802
@rajeshsukheja4802 Год назад
how can i find the source code? on which website? i didn't find any source code on webNinja website... pls suggest
@CodingShiksha
@CodingShiksha Год назад
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
@prasanthdadi2764
@prasanthdadi2764 Год назад
sir i am not getting any responce for wrong number i am getting error
@CodingShiksha
@CodingShiksha Год назад
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
@higiniofuentes2551
@higiniofuentes2551 Год назад
I can use in Europe? I can change the user id (the sender id)?
@lordesca4364
@lordesca4364 9 месяцев назад
Yes you can after doing the DLT registration process
@omanjabbar200
@omanjabbar200 2 года назад
Works only in India..
@CodingShiksha
@CodingShiksha Год назад
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
@kingfisher7348
@kingfisher7348 Год назад
You looks like Stephen Hawking
@cubedev4838
@cubedev4838 2 года назад
Hi shiska, what your current job now??
@CodingShiksha
@CodingShiksha 2 года назад
Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848
@nikhiltiwari7936
@nikhiltiwari7936 Год назад
really liked your videos but as doing like your instruction response did not came and no error is showing please help app.post('/otp/register',asyncHandler(async(req,res)=>{ console.log('Enter details for registration ',req.body) const {first_name,last_name,dob,email,address,gender,password,phoneno} = req.body ; //console.log('') if(!first_name||!last_name||!dob||!email||!address||!gender||!password||!phoneno){ res.status(401); throw new Error("All fields are mandatory") } const hashedPassword = await bcrypt.hash(password,10); console.log('hashed password',hashedPassword); const data = await User.create({first_name,last_name,dob,email,address,gender,password:hashedPassword,phoneno}); console.log('data available :',data); // checking if(!data){ res.status(400); throw new Error("User id is not valid"); } else{ res.status(200).json({data}) } const otp = otpGenerator.generate(6, { upperCaseAlphabets: false, specialChars: false ,lowerCaseAlphabets:false}); console.log("OTP : ",otp); // sending OTP via SMS var options = {authorization : process.env.YOUR_API_KEY , message : 'OTP message 9211 ',//`OTP${otp}` , numbers : ['9120689486'] } // promise will generate which will send object in options at the time of fast2sms.sendMessage(options) .then(response=>{ console.log('response ',response) }) .catch((error)=>{ console.log('Error : ',error) }) //res.status(200).json({data}) })) waiting for your response
@CodingShiksha
@CodingShiksha Год назад
Message me on my whatsapp +91 9821254649
@abhisekadhikari2774
@abhisekadhikari2774 8 месяцев назад
I'm in same type of situation. Do you solve it ? please reply
Далее
What Theo Won't Tell You About Next.js
8:37
Просмотров 89 тыс.
iPhone 16 для НИЩЕБРОДОВ!
00:51
Просмотров 811 тыс.
Rewrite React Native App
12:14
Просмотров 70 тыс.
How To Manage User Roles In Node.js
22:45
Просмотров 308 тыс.
Send Mail with Nodemailer Using Node.js Backend
28:30
Node.js Crash Course
2:06:35
Просмотров 170 тыс.