https://github.com/nikdrosakis/socketio-chat-mysql
a socketio chat implemention with mysql
https://github.com/nikdrosakis/socketio-chat-mysql
chat nodejs socket-io
Last synced: 11 months ago
JSON representation
a socketio chat implemention with mysql
- Host: GitHub
- URL: https://github.com/nikdrosakis/socketio-chat-mysql
- Owner: NikDrosakis
- Created: 2015-12-25T23:02:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T16:40:31.000Z (about 4 years ago)
- Last Synced: 2025-05-07T08:48:12.820Z (about 1 year ago)
- Topics: chat, nodejs, socket-io
- Language: CSS
- Homepage:
- Size: 22.5 KB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#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