Chat-Realtime
This app will always be on (BETA) Because there will continue to be updated and developed. Hence, do not forget at the fork and like ya bro :).
This application is created using:
- PHP
- Bootstrap
- MySQL
- jQuery
- Firebase
- Fontawesome
Faetures:
- Public rooms chat.
- Private chat with user.
Realtime:
- Status user online or offline.
- Push new user login.
- Push new message.
- Push inbox count.
1. Import database Use:
db/chat_realtime.sql
- Setting database
lib/config.php
<?php // Replace with: your database account $username = "REPLACE"; $password = "REPLACE"; $host = "REPLACE"; $name = "chat_realtime";
- Setting firebase & MySQL API
js/config.js
// Replace with: your_firebase_name.firebaseio.com var dbRef = new Firebase("https://REPLACE.firebaseio.com/"), apis = 'api.php'; // MySQL API // create firebase child var messageRef = dbRef.child('message'), userRef = dbRef.child('user');