Skip to content

vaibhav269/otpService

Repository files navigation

React and node js code for sending and verifying OTP

Steps to Run the code:-

  1. clone the repository
  2. run command npm install in the root directory
  3. edit file server/config/env and replace 'YourApiKey' in msg91Key : 'YourApiKey' with your own key visit https://msg91.com to get it.
  4. import the database dump to your mysql and replace database credentials from server/config/db.js
  5. run command npm run start in the root directory to start the server.
  6. visit localhost:3000 to see the home page
  7. visit localhost:3000/backend to see the admin Panel

About

Code to send OTP to mobile numbers and verify them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages