NickCarneiro/SocksChat

Very basic Socket.io, express.js chat room

★ 2Forks 0JavaScriptGitHub ↗Compare

README

SocksChat

A very basic Express and Socket.io chat room app with a layout based on HTML5 Boilerplate. This was created so I could learn Socket.io. The chat lacks flood control or other administrative features you would want in a real web app. Starter code is from gaarf's express-boilerplate

Interesting Files:

  • client-side javascript in public/javascripts/chat.js
  • server-side javascript in app.js
  • HTML in views/index.ejs and views/layout.ejs

Installation:

  • make sure node.js is installed
  • copy files to server, cd to sockschat directory.
  • run # node app.js
  • open up http://yourdomain:3000 in a browser.

Notes:

  • Only tested in Chrome
  • Socket.io is really fun to use and Express makes a lot of sense.

Contributors

NickCarneiro

Issues