cra-template-redux-saga-firebase

0.0.8 • Public • Published

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 `tikboycaceres@gmail.com

Package Sidebar

Install

npm i cra-template-redux-saga-firebase

Weekly Downloads

2

Version

0.0.8

License

MIT

Unpacked Size

59 kB

Total Files

61

Last publish

Collaborators

  • tikboycaceres