This is a react native template for quickly spinning up a react native typescript + firebase project.
Before you begin, ensure you have the following installed:
- Node.js (https://nodejs.org/)
- Watchman (for macOS users)
- Android Studio or Xcode (for iOS development, macOS only)
- An active Firebase project
To create a new React Native project using this template, run the following command:
npx react-native init MyNewProject --template https://github.com/friedice5467/RNCliFirebaseTemplate.gitReplace MyNewProject with your desired project name.
After creating your project, you'll need to configure Firebase:
- Navigate to your Firebase project in the Firebase Console.
- Go to Project Settings.
- Under the "General" tab, download the
google-services.jsonfor Android and place it in theandroid/appdirectory of your new project. - For iOS, download the
GoogleService-Info.plistand use Xcode to include it in your project.
Navigate to your project directory and install the necessary dependencies:
cd MyNewProject
npm installnpx react-native run-androidnpx react-native run-iosThis project is licensed under the MIT License - see the LICENSE file for details.