DimiMikadze / firebase-react-native-redux-starter

Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Example And Form Validation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED. This project is not maintained anymore.

Build Status license

Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Example And Form Validation.

Features

  • Authentication
  • CRUD ( Create, Read, Update, Delete )
  • Form validation
  • Redux form library configuration
  • Redux configuration
  • React Native Router Flux configuration
  • Linting with Airbnb eslint configuration

Preview

Getting started

Clone Repo

git clone https://github.com/DimiMikadze/firebase-react-native-redux-starter

npm install dependencies

npm install

Firebase

Create firebase app

  • You'll need a JavaScript (web or Node.js) app to create at Firebase.
  • Find firebase.example.json file in src directory, rename it to firebase.json and edit it with your firebase app configuration.

Add rules to firebase database

In firebase console navigate to, Database -> Rules and add following code snippet.

{
  "rules": {
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }
  }
}

Application

IOS

react-native run-ios

Android

react-native run-android

Testing

npm run test

Linting

npm run lint

About

Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Example And Form Validation.


Languages

Language:JavaScript 83.0%Language:Objective-C 10.1%Language:Python 3.7%Language:Java 3.2%