1.0.1 • Published 9 years ago
node-comments v1.0.1
node-comments
Node-comments provides a simple back-end commenting system for your webapp. It uses jQuery-comments as a front-end.
Installation
You need to install jquery-comments in order to have a ready to use front end layout.
npm install jquery-comments --save
[jquery-comments](https://www.npmjs.com/package/jquery-comments)
and now the back end:
npm install node-comments --save
Usage
var nodeComments = require('node-comments');
nodeComments.init({
mongodb: false, // -> Not yet implemented
angular: false, // -> Not yet implemented
dbpath: './' // node-comments only works with files for now, this option defines
// the directory where to find them.
});
app.use('/node-comments', nodeComments.routes);
Notes
...