Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Martinko366/js-firebase-chatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple Chat App

Simple JavaScript chat app using Firebase.

Create & Invite Session

One user can create a chat room, only creator will be provided with the invite code that they can share to others to chat with! The invite code contains only A-Z and 1-9. When creator leaves the session, the entire session will stop working.

Setup

In order to make your code work, create Firebase app at https://console.firebase.google.com/.

  • Once you do, click on the "Project Overview", you should now see circualr button with "</>" symbol, click on it.
  • Provide name and press the blue button.
  • You should get the JS code that looks like this:
const firebaseConfig = {
  apiKey: "abcjsbjfbjdhj",
  authDomain: "yourapp-54321.firebaseapp.com",
  projectId: "yourapp-54321",
  storageBucket: "yourapp-54321.appspot.com",
  messagingSenderId: "123456789",
  appId: "12:hajdhg56ge6r4",
  measurementId: "G-SOMETHING",
};

Go into app.js and replace the old firebaseConfig with the new one. Once you do, you are ready to go!

About

Simple JavaScript chat app using Firebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors