FireBase chat messaging app with a strange twist
100DaysOfCode: Day 6-8
π DEVLOG #1
π DEVLOG #2
π DEVLOG #3
π VIEW PROJECT
- Built with JavaScript, HTML, Bootstrap and CSS.
- Used FireBase Log-In Authentication. See documentation here.
- Deployed with FireBase hosting
npm install -g firebase-tools
firebase init
firebase deploy
- Set up real-time database on Firebase console
- Initialize database
const db = firebase.database();
- Initialize directory name
const msgRef = db.ref("/msgs");
- Object template
const msg = { id, name, text: text };
- Push to database
msgRef.push(msg);