Skip to content

DivyanshuGairwal/OTP-LOGIN-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± OTP Login App (Firebase Authentication)

A simple and clean React Vite web application that implements phone number authentication using Firebase OTP verification.

πŸš€ Live Demo

πŸ‘‰ https://otp-login-app-8rlw.vercel.app/

πŸ› οΈ Tech Stack

  • React (Vite)
  • Firebase Authentication
  • JavaScript (ES6)
  • CSS

✨ Features

  • Phone number login using OTP
  • Firebase Authentication integration
  • reCAPTCHA verification
  • User session handling (token stored locally)
  • Success screen with user phone number
  • Logout functionality

πŸ” Authentication Flow

  1. User enters phone number
  2. OTP is sent via Firebase
  3. User enters OTP
  4. Verification success β†’ user logged in
  5. Session stored and displayed

⚠️ Note

This project uses Firebase test phone numbers for OTP authentication (no real SMS charges).

πŸ“¦ Installation

npm install
npm run dev
🌐 Deployment

Deployed using Vercel.

πŸ“Έ Screenshot

![site ss](image.png)

About

React Vite OTP Login App using Firebase Authentication with phone verification, reCAPTCHA, and session handling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors