A Websocket and Node.js server and webclient for chat between users, got some irc-like comands as '/me', '/msg', '/nick', '/slap', '/connect', '/quit' and more..
By Rasmus Berg, [email protected] Homepage: http://www.student.bth.se/~rabe13/dbwebb-kurser/javascript/me/kmom06/playground/kmom6_websocket-chat/ (Server is probly down, but you can use your own)
This software is free software and carries a MIT license.
The following external modules are included:
- Homepage: http://jquery.com/
- Version: v3.1.1 (slim)
- License: MIT license
The following external modules are excluded but will be needed for run this classes:
- Homepage: http://nodejs.org/
- Version: v0.10.28
- License: MIT license and third-party modules has own licenses
- Homepage: https://github.com/theturtle32/WebSocket-Node
- Version: v1.0.3
- License: Apache License, Version 2.0
3. Has you done this right just add the files where you want the chat client to be and 'server/chatserver.js' you probly should put where node is runing.
- If needed change port on row 3.
- Highly recomend to add allowed domains to connect to server on row 8.
5. Run server by in nodejs's command promp write 'node server/chatserver.js' or what source your chatserver.js is from where node is runing.
6. If server is up and runing is only to add address to chatserver.js as at, if it's local it should be 127.0.0.1:[port]
###History for Database TextContent for ANAX-MVC
v1.0.5 (2017-01-27)
- First release on Github.
- Added: Array for easy adding allowed domains for connection to server
v1.0.0 (2017-01-26)
- First stable version
Copyright (c) 2017 Rasmus Berg, [email protected]