Skip to content

A Websocket and Node.js server and webclient for chat between users

Notifications You must be signed in to change notification settings

Chibi86/Chibis_Nodejs_Chatserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chibi's Node.js Chatserver, a websocket chat

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)

License

This software is free software and carries a MIT license.

Use of external libraries

The following external modules are included:

jQuery

The following external modules are excluded but will be needed for run this classes:

Node.js

  • Homepage: http://nodejs.org/
  • Version: v0.10.28
  • License: MIT license and third-party modules has own licenses

WebSocket-Node

Install instructions

1. First you will need to install nodejs and got that runing, follow thier instructions.

2. Then get WebSocket-Node, follow thier instructions.

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.

4. Changes recomend and sometimes needed in chatserver.js

  • 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

###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]

About

A Websocket and Node.js server and webclient for chat between users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published