mongoose-socket-knockout
mongoose -> html binding with socket.io and knockout.js
1. dependencies
client side
mongoose-knockout
- knockout.js
- component/component
server side
mongoose-socket
- node.js
- express.js
- mongoose(mongodb)
2. how to run the test
- 2.1 require mongodb, clone this repo and prepare submodules.
- 2.2 install express and component globally
cd mongoose-socket
npm install express component -g
- 2.3 install npm modules
npm install
- 2.4 prepare components
cd source/public/component
make
- 2.5 compile
cd mongoose-socket
grunt
- (2.6) watch grunt to compile
grunt watch
- 2.7 run
./app.sh
3. no api documents!
if you would like to use this module, please view these script files.
client side
server side
https://github.com/nashibao/mongoose-socket-knockout/blob/master/source/apps/message/index.coffee
License
The MIT License