Skip to content

OTP (one time password) generation and verification system with Twilio and Next.js

Notifications You must be signed in to change notification settings

shivamvishwakarm/OTPVerification

Repository files navigation

OTP Verification System in Next.js with Twilio

This project is a One-Time Password (OTP) verification system built with Next.js and Twilio.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

  • Node.js
  • npm
  • Next.js
  • A Twilio account

Installing

A step by step series of examples that tell you how to get a development environment running:

  1. Clone the repository
  2. Install the dependencies using npm install
  3. Set up your Twilio account and get your Account SID and Auth Token
  4. Create a .env file in the root directory and add your Twilio Account SID and Auth Token - variable names are TWILIO_ACCOUNT_SID, TWILIO_NUMBER and TWILIO_AUTH_TOKEN respectively

Running the tests

Explain how to run the automated tests for this system.

Deployment

Add additional notes about how to deploy this on a live system.

Built With

  • Next.js - The web framework used
  • Twilio - Used to generate and verify OTPs

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

OTP (one time password) generation and verification system with Twilio and Next.js

Topics

Resources

Stars

Watchers

Forks