Socket
Socket
Sign inDemoInstall

couchdb-node-cms

Package Overview
Dependencies
123
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    couchdb-node-cms

A small library providing micro cms using couchdb and nodejs


Version published
Weekly downloads
7
increased by40%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 26 Jun 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc