Skip to content

A realtime React-Firebase/Firestore online chat room app 📢

Notifications You must be signed in to change notification settings

Zeyu-Li/chatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatter

logo

Vercel

A realtime chatting app built on React-Firebase/Firestore that allows you to chat via text with other users.

See the live demo here: chatter-zeyu-li.vercel.app

Demo

demo

demo2

login_page

Login screen ^^

chat2

Chat Screen ^^

Packages

Firebase

Firestore properties for user:

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow write: if false;
      allow read: if request.auth.uid != null;
    }
    
    // allow user to change own data 
    match /user/{userId} {
    	allow write: if request.auth.uid == userId;
    }
  }
}