项目作者: JuAlexandre

项目描述 :
Simple chat using Firebase Realtime Database or Cloud Firestore
高级语言: JavaScript
项目地址: git://github.com/JuAlexandre/chat.git
创建时间: 2019-03-18T14:38:19Z
项目社区:https://github.com/JuAlexandre/chat

开源协议:

下载


chat

Use with Firebase Realtime Database

Clone this and follow the installation process :

  1. git clone https://github.com/JuAlexandre/chat/tree/1.0

Use with Cloud Firestore

Clone this and follow the installation process :

  1. git clone https://github.com/JuAlexandre/chat/tree/2.0

Installation

Move in the cloned folder and install dependencies :

  1. $ cd chat
  2. $ yarn install

Create a file named firebaseConfig.js at the root of your project with the configuration of your Firebase project :

  1. export const firebaseConfig = {
  2. apiKey: "...",
  3. authDomain: "...",
  4. databaseURL: "...",
  5. projectId: "...",
  6. storageBucket: "...",
  7. messagingSenderId: "..."
  8. };