https://github.com/thadeuluz/reduxfire
ReduxFire is a way to integrate Firebase data into your Redux application
https://github.com/thadeuluz/reduxfire
dispatch-actions firebase redux
Last synced: about 1 month ago
JSON representation
ReduxFire is a way to integrate Firebase data into your Redux application
- Host: GitHub
- URL: https://github.com/thadeuluz/reduxfire
- Owner: ThadeuLuz
- License: mit
- Created: 2017-08-30T19:05:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T02:11:15.000Z (about 3 years ago)
- Last Synced: 2025-03-03T01:08:23.206Z (over 1 year ago)
- Topics: dispatch-actions, firebase, redux
- Language: JavaScript
- Homepage:
- Size: 196 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReduxFire  [](https://badge.fury.io/js/reduxfire)
[Redux](http://redux.js.org/) is a predictable state container for JavaScript apps. [Firebase](https://firebase.google.com/) complements it perfectly by providing an
easy-to-use, realtime data source for populating redux's `state` by dispatching actions. With ReduxFire, it
only takes a few lines of JavaScript to integrate Firebase data into your (pure|React|Angular|Vue|*) Redux application.
This project aims to follow the API of the official [ReactFire](https://github.com/firebase/reactfire) package, with a few additional functionalities.
## Table of Contents
* [Getting Started With Firebase](#getting-started-with-firebase)
* [Downloading ReduxFire](#downloading-reduxfire)
* [Documentation](#documentation)
* [Example](#example)
## Getting Started With Firebase
ReduxFire requires [Firebase](https://firebase.google.com/) in order to sync and store data.
Firebase is a suite of integrated products designed to help you develop your app, grow your user
base, and earn money. You can [sign up here for a free account](https://console.firebase.google.com/). ReduxFire also requires redux-thunk because some of its action creators dispatch functions instead of actions. This allows us to dispatch actions asynchronously and keep it in sync with your redux state.
## Downloading ReduxFire
In order to use ReduxFire in your project, you can install it via npm. You will probably also have to install Redux and Firebase:
```bash
$ npm i -S redux firebase reduxfire
```
## Documentation
* [Quickstart](docs/quickstart.md)
* [Guide](docs/guide.md)
* [API Reference](docs/reference.md)
## Example
Clone the product and run
```bash
$ npm i
$ npm run example
```