Skip to content

jqueryalmeida/Chat-Realtime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-Realtime

Aplikasi ini akan selalu bersetatus (BETA) Karena akan terus di update & dikembangkan. Maka dari itu jangan lupa di fork & like ya sob :).

Aplikasi ini dibuat menggunakan:

  • PHP
  • Bootstrap
  • MySQL
  • jQuery
  • Firebase
  • Fontawesome

Fitur:

  • Public rooms chat.
  • Private chat with user.

Realtime:

  • Status user online or offline.
  • Push new user login.
  • Push new message.
  • Push inbox count.

Penggunaan:

1. Import database db/chat_realtime.sql
  1. Setting database lib/config.php
<?php
// Replace with: your database account
$username     = "REPLACE";
$password     = "REPLACE";
$host         = "REPLACE";
$name         = "chat_realtime";
  1. 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');

Done :)

LICENSE

About

Public & Private message. MySQL & Firebase.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.1%
  • HTML 23.6%
  • PHP 16.6%
  • CSS 14.7%