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
- Host: GitHub
- URL: https://github.com/jean-smaug/example-react-mobx-todo
- Owner: jean-smaug
- Created: 2017-12-17T16:01:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T09:57:53.000Z (almost 4 years ago)
- Last Synced: 2025-07-02T00:12:43.773Z (12 months ago)
- Topics: example, firebase, mobx, mobx-react, react
- Language: JavaScript
- Size: 434 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
};
```