Skip to content

Registration, login, read and write using react native with firebase as a backend.

Notifications You must be signed in to change notification settings

jaihan/react-native-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-native-firebase

Simplified Firebase authentication for React Native projects with Registration, login, read and write.

Features

  • Registration with email & password
  • Login with emil and Password
  • Handling persisted login credentials
  • Navigation (react-native-navigation)
  • Writing to Firestore Database
  • Reading from Firestore Database
  • Creating Firestore indices (for performance)

How to use?

  1. Clone this repo
git clone https://github.com/jaihan/react-native-firebase.git

  1. Install dependenices
yarn install 
  1. Go to src/firebase/config.js and replace FIREBASE_CONFIG with your own firebase config.
const firebaseConfig = {
    apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    authDomain: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    databaseURL: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    projectId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    storageBucket: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    messagingSenderId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    measurementId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
};
  1. Run the project using expo
expo start

About

Registration, login, read and write using react native with firebase as a backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published