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