Q) What it does?
It takes a phone number as input and sends an OTP to it. The user then verifies the OTP in the next page and authentication is completed in this way.
Q) How to run the project?
- Pull the project to your local system using
- Open the terminal and run
npm i
- Go to firebase console and create a new project
- Inside the project, create a web app
- Go inside auth and enable phone authentication
- From the SDK installation guide in docs, copy your config
- Paste the config inside firebase.js file
- Run
npm start
- Your app is ready to be used