Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HusseinTaha/couchdb-node-cms
A CMS for couchdb and nodejs
https://github.com/HusseinTaha/couchdb-node-cms
Last synced: 5 days ago
JSON representation
A CMS for couchdb and nodejs
- Host: GitHub
- URL: https://github.com/HusseinTaha/couchdb-node-cms
- Owner: HusseinTaha
- License: apache-2.0
- Created: 2015-06-18T08:45:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-26T08:03:25.000Z (over 9 years ago)
- Last Synced: 2024-09-30T10:36:49.746Z (about 1 month ago)
- Language: JavaScript
- Size: 186 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - HusseinTaha/couchdb-node-cms - A CMS for couchdb and nodejs (others)
README
couchdb-node-cms
================A micro CMS for couchdb and nodejs
This project use nodejs and couchdb to manage data from database using html templates.## Installation
npm install couchdb-node-cms --save
## Usage
var express = require('express')
, CmsEngine = require('couchdb-node-cms')
, config = require('./config');
var app = express();// options :{
// config: { host: "…", port: "…", user: "", password: "" },
// server: expressServer,
// auth: authentication method,
// apiRoot: “/admin/v1/cms”
// }
var cmsEngine = new CmsEngine({
config: config,
server: app,
auth: function(){},
apiRoot: '/admin'
});
cmsEngine.start();
var server = app.listen(process.env.PORT || 8080, function () {
var host = server.address().address;
var port = server.address().port;
console.log('Server is listening at http://%s:%s', host, port);
});
## Contributing
If you want to contribute, please don't hesitate and send a pull request.
## Release History
* 0.1.4 Initial release