Skip to content
Very basic Socket.io, express.js chat room
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
etc
lib
node_modules
public
test
views
README.md
app.js
config.js
package.json

README.md

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.
You can’t perform that action at this time.