@lockerstock/firebase-redux-provider
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@lockerstock/firebase-redux-provider

Wrapper around the common react, redux, and firebase components and fleshed out to include custom hooks for all data types used within the LockerStock application.

npm version build npm downloads

Installation

To install @lockerstock/firebase-redux-provider with yarn:

yarn add @lockerstock/firebase-redux-provider

Setup

As of version 0.2.0, the Firebase API keys will have to be supplied from environment variables as follows:

REACT_APP_FIREBASE_API_KEY="" REACT_APP_FIREBASE_AUTH_DOMAIN="" REACT_APP_FIREBASE_DATABASE_URL="" REACT_APP_FIREBASE_PROJECT_ID="" REACT_APP_FIREBASE_STORAGE_BUCKET="" REACT_APP_FIREBASE_MESSAGING_SENDER_ID="" REACT_APP_FIREBASE_APP_ID="" REACT_APP_FIREBASE_MEASUREMENT_ID=""

It is recommended to supply these in the CRA as .env.{NODE_ENV}.local. Then in CI builds, supply these keys with secrets.

Package Sidebar

Install

npm i @lockerstock/firebase-redux-provider

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

286 kB

Total Files

49

Last publish

Collaborators

  • alehechka