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
There are 2 mini-modules within the app:
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.
- 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