cra-template-redux-saga-firebase
v0.0.8
Published
A quickstart to Redux Saga and Firebase
Downloads
14
Maintainers
Readme
cra-template-redux-saga-firebase
A quickstart 🧑🏻🚀 create-react-app template for redux saga and firebase using Typescript and Ducks Architecture.
Installation
npx create-react-app [name-of-app] --template cra-template-redux-saga-firebase
Basic Setup
First you must add in your firebase configuration
READ:
Create an env file in root of project. To know more about create-react-app env read Environment Variables Docs.
I have prepared an .env-example
as your reference. Create a .env-development.local
in the root directory.
Then replace the values based on your firebase config object.
.env-example
REACT_APP_APIKEY=AIzaSyA7tfvrtDxCFjp-HFsV1_qeAenkI1-FERg
REACT_APP_AUTHDOMAIN=xxxxxxx.firebaseapp.com
REACT_APP_DATABASE_URL=https://xxxxxxx.firebaseio.com
REACT_APP_PROJECT_ID=project-id
REACT_APP_STORAGE_BUCKET=xxxxxxx.appspot.com
REACT_APP_MESSAGING_SENDER_ID=0123456789
Run npm run start
Alert!
Documentation is still under way. I recommend waiting for the docs
Contact me
Please contact me your feedback `[email protected]