Skip to content

Kalyan-velu/react-firebase-otp

Repository files navigation

View Live Site

This is a sample site for testing firebase phone number authentication in React. It is built using React.js, React Bootstrap(Bootstrap), and Firebase.

Getting Started

Prerequisites

Installing

  1. Clone the repository
git clone
  1. Install dependencies
yarn install
  1. Change firebase config in config/Firebase.tsx

  2. Run the app

yarn start

Deployment

Deploy

  1. Create a new Render static site.

You can also use netlify to host the site.

  1. change static folder to dist in settings.

  2. Add the following build command

yarn build
  1. Deploy the service
  2. Visit the URL to see the app running
  3. Enjoy!