Simple real time discussion board & chat written in Node.js, KineticJS & Backbone
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules
public
routes
views
.gitignore
README.md
app.js
package.json

README.md

Node Discussion Board

Simple real time discussion board & chat written in Node.js, KineticJS, jQuery UI & Backbone.

Inspired by scrumblr project. Dragging and dropping use HTML5 canvas with the help of KineticJS. Notes can be dragged from desktop or mobile devices such as iPad.

To run the app, just type:

$ node app.js

and access

http://localhost:3000/board

There are 2 mini-modules within the app:

  1. Chat Module

  2. Discussion Blackboard

Chat Module is built mainly with Backbone models and Socket.io. Discussion Board notes are custom KineticJS Shapes which override the draw function.

There is no persistency in the app. All data are stored in memory. It should be easy to store it in Redis. There is a limit on the maximum number of chat messages, clients or notes that can be created.

Important files:

  • routes/index.js ==> Most of the logic for server side
  • js/board/models.js ==> Chat Models
  • js/board/board.js ==> Main Client Logic
  • js/hhutil/widgets.js ==> Note Models