Skip to content

NikDrosakis/socketio-chat-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#a socketio chat implemention with mysql embedded

SETUP

  1. Create Database niklab
  2. Run chat.sql
  3. Edit chat.server.js file adding mysql host, username, password. Replace test.gr with server's host at chat.server.js, chat.js files
  4. install nodejs if not already installed in your system
  5. Run npm install command line to install all the necessary node-modules from package.json
  6. Run node chat.server.js command line to connect socket (by default at port 3000)
  7. Open webpage [host]:3000/chat.html to run the chat
  8. Open webpage [host] to run chat embedded in index.php or include iframe to any file (changing host iframe src)

TODO

- multiusers list from db - user images - display writing... effect - multiple chat

About

a socketio chat implemention with mysql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published