An open API service indexing awesome lists of open source software.

https://github.com/jean-smaug/example-react-mobx-todo


https://github.com/jean-smaug/example-react-mobx-todo

example firebase mobx mobx-react react

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Exemple de projet Mobx, Firebase, React

## Regarder le code

Les branches :

* `master` : état géré grâce a mobx, app en local
* `firebase` : ajout de firebase, synchro en temps réél avec Firestore

## Lancer le projet en local

* `git clone https://github.com/the-smaug/example-react-mobx-todo.git`
* `yarn install`
* `yarn dev`

Petite spécificité avec Firebase :

* ajoutez votre config dans le fichier src/database.js

```js
{
apiKey: "efzkjnUEZUnv8FE2UVDzu32FE",
authDomain: "myApp.firebaseapp.com",
databaseURL: "https://myApp.firebaseio.com",
projectId: "myApp",
storageBucket: "myApp.appspot.com",
messagingSenderId: "3298U528939"
};
```