1.1.12 • Published 7 years ago

@gigster/module-redux-firebase-chat v1.1.12

Weekly downloads
66
License
UNLICENSED
Repository
-
Last release
7 years ago

redux-firebase-chat

RoleNameEmailSlack
Product OwnerRyan Borkerborker@gigster.com@borker
MaintainerGeoff Kindergeoff.kinder@gmail.com@geoff
ContributorMark Miyashitamark.miyashita@gigster.com@mark
ContributorSimon Fridsimon@gigster.com@fridiculous

Overview

This module adds the redux layer to support realtime chat backed by firebase.

Dependencies

The following npm packages are required on the API:

npmversion
module-loopback-authentication^1.1.0
module-loopback-firebase-authentication^1.1.0

Usage

- name: redux-firebase-chat
  location: @gigster/redux-firebase-chat
  spec: {}

Tests

Module tests are defined using a test/scenarios.yaml file. This file defines the set of example gigs that we generate as part of integration testing. To run all tests, run yarn test at the root of this module.

Each scenario is generated in test/scenario/<name> which you can then cd into and run the actual app. For a scenario called default, this is done via:

To run, add an .env file to the test/scenario/default/web directory, with the following variables:

NODE_PATH=src/
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=""

Then run:

cd test/scenario/default
yarn install

# Run tests.
yarn test

# Start the app.
yarn start
1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.1.0-alpha.2

7 years ago

1.1.0-alpha.1

7 years ago

1.0.0

8 years ago