alexwasner / react-native-mobx-firebase-starter

A React Native starter app with Wix React Native Navigation V2, MobX and Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


React Native Navigation + Firebase + MobX + Other Goodies

A React Native starter app with Wix React Native Navigation V2, MobX, Lottie, Firebase and more...

Architecture includes navigation, registering and login with Firebase, Lottie animations and some default packages I tend to use.

Also includes a default Firebase Cloud Function for saving user info to Firebase when registering.

πŸ€“ Tech Stack


πŸ‘‡πŸ‘‡πŸ‘‡ DO THIS BEFORE RUNNING πŸ‘‡πŸ‘‡πŸ‘‡

βœ… Setup

πŸ”₯ Setup Firebase

Create a new firebase project here and set up an iOS or Android project with a bundleID. Download the cooresponding plist or json files.

🍎_If building for iOS_
Copy GoogleService-Info.plist to overwrite the placeholder file in the ios folder.

πŸ€–_If building for Android_
Copy google-services.json to overwrite the placeholder file in the android/app folder.

Add the project name to .firebaserc on line 3.

πŸ”₯_If you want to use Firebase Cloud Functions_
You will need to set up firebase's CLI tools and deploy. For more info, see their intro docs here.

$ firebase deploy --only functions

❉ Install Node Packages

$ yarn

♻️ Change the project name
If you want to easily rename the project, you can do so with React Native Rename and use it like:

$ react-native-rename <newName>

πŸ“² Run React Native Simulator

$ react-native run-ios  
or  
$ react-native run-ios  

About

A React Native starter app with Wix React Native Navigation V2, MobX and Firebase

License:MIT License


Languages

Language:JavaScript 79.8%Language:Objective-C 7.8%Language:Python 4.6%Language:Java 4.6%Language:Ruby 3.2%