Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 589 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 589 Bytes

realtime-firebase

learning realtime app with firebase

##how to use

  1. cd chat
  2. create fire.js file on src folder
import * as firebase from 'firebase';
import  "firebase/firestore"
const config = {
  apiKey: "",
  authDomain: "",
  databaseURL: '',
  projectId: "",
  storageBucket: '',
  messagingSenderId: ''
};

const fire = firebase.initializeApp(config);

export default fire
  1. yarn or npm
  2. yarn start or npm start

all main chat function done, less remove chat room and group chat, and need refactor on styling try on https://firechat-99c4c.firebaseapp.com