/rn-firebase-auth

A template for setting up an authentication mechanism for a React Native application using Firebase

Primary LanguageJavaMIT LicenseMIT

rn-firebase-auth

License: MIT

Description

A template for setting up an authentication mechanism for a React Native application using Firebase. This template does not include any advanced authentication mechanism for now.

Prerequisites

Set up the development environment for React Native

Visit https://reactnative.dev/docs/environment-setup and follow the instructions to set up the development environment for React Native.

Set up a Firebase project

Visit https://console.firebase.google.com and follow the instruction to create a new project.

Once you have initiated the Firebase project, copy the generated google-services.json file under android/app.

How to run

git clone https://github.com/theosev/rn-firebase-auth.git

Inside the project's directory run:

yarn install

Open two terminals and run the following command in the first one:

npx react-native start --reset-cache

And then

npx react-native run-android

Enjoy!

License

The MIT License (MIT)