Giter Site home page Giter Site logo

getlost01 / phone_otp_verification_react_firebase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sridhar-c-25/phone_otp_verification_react_firebase

1.0 0.0 0.0 181 KB

phone number authentication useing firebase and react js

JavaScript 78.95% CSS 5.02% HTML 16.03%

phone_otp_verification_react_firebase's Introduction

OTP Verification App

Table of Contents

  1. Introduction
  2. Good to Have
  3. Tech Stack
  4. Getting Started
  5. Usage

Introduction

The OTP Verification App is a web application that verifies mobile phone numbers using one-time passwords (OTP). It's a simple and user-friendly solution. Having 3 pages: Screen-1: Mobile Number Screen Screen-2: OTP Verification Screen Screen-3: Success Screen

Preview



Good to Have

  • Country Code Selection: Allow users to choose their country code.
  • Comprehensive Field Validations: Prevent users from entering incorrect values.
  • Error Handling: Handle various scenarios, like incorrect numbers or failed OTP delivery.
  • Responsive Design: Ensure the app works on different devices.

Tech Stack

  • React.js: For the front-end.
  • JavaScript (JS): For scripting.
  • Firebase: For user accounts and OTP storage.
  • SMS Service: For sending OTPs.
  • REST API: For backend servers communication

Getting Started

To get started with the OTP Verification App, follow these steps:

  1. Clone this repository to your local machine.
git clone https://github.com/your-username/otp-verification-app.git
  1. Navigate to the project directory.
cd otp-verification-app
  1. Install the required dependencies.
npm install
  1. Configure Firebase and the SMS service with your credentials and API keys. Refer to the project's documentation for specific configuration details.
  2. Start the development server.
npm start
  1. Open your web browser and access the app at http://localhost:3000.

Usage

  1. Open the app.
  2. Enter your mobile number and, if necessary, select the country code.
  3. Click "Send OTP."
  4. Check your phone for the OTP.
  5. Enter the OTP.
  6. Click "Verify OTP."
  7. See a success message or error.
  8. Change the country code or mobile number as needed.

Made with ❤️ and ReactJS (aka Javascript)

phone_otp_verification_react_firebase's People

Contributors

getlost01 avatar sridhar-c-25 avatar

Stargazers

Sanjeev Kumar Singh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.