redux-firebase [](https://travis-ci.org/gobadiah/redux-firebase)
March 21, 2016 ยท View on GitHub
Redux firebase makes the connection between your firebase backend and your redux store, using a schema.
Installation
npm install --save redux-firebase@https://github.com/gobadiah/redux-firebase
Usage
First define your schemas in schemas.js like so :
import { Schema } from 'redux-firebase';
const drivers = new Schema('drivers');
const cars = new Schema('cars');
drivers.hasMany(cars, 'private_cars', 'owner');
export default {
drivers,
cars
};
Then you need to use :
- Redux-firebase middleware and reducer :
import { create
- Test