Skip to content

Mobile number verification using nodejs linked with mysql database and SMS API Nexmo

Notifications You must be signed in to change notification settings

anoopgcmz/mobile-number-verification-using-nodejs-with-Mysql-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobile-number-verification-using-nodejs

Nodejs app connected with mysql database which uses Nexmo For sending Messages to mobile with the self generated verification code.

Nexmo is a messaging app which helps us to send msgs from web apps.
https://www.nexmo.com/
Nexmo having 2Euro free msg option. After that we need to upgrade for getting more functionalities.
For testing purpose add the 'Mobile Number' in this link https://dashboard.nexmo.com/test-numbers

Database

Mysql Db is used. Check the mysqlnode.sql file. Import it into ur database. We are generating random numbers from the code itself and saving it in the database. No need to use any third party tools for sms authentication.

Run the project

download this file or clone it
Run npm install and all the dependencies will be installed into the project
To run the project type node index, application will be live on port 3000

Regiser the details in the first form
Then it will take you to verification form which it asks your phone number and security code(received in mobile number)
Afte giving the correct input it will redirect to the sucess page
and in daabase users table the user_status field will be updated to 1 which means user is updated

Package Installed

npm install express body-parser nexmo mysql -- save

#happycoding

About

Mobile number verification using nodejs linked with mysql database and SMS API Nexmo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published