site-builder

0.1.1 • Public • Published

Site-builder

Works but experimental at the the moment. Meant to be a fast but extremely flexible way to create a site.

This allows you to build a static site using mongo.

To use create a new project and then

npm install --save site-builder

in index.js put something like

var sb = require('site-builder'),
    myProjectDb = 'something';
 
sb
    .start(myProjectDb)
    .catch(function(error) {
        console.log('error:', error);
        console.log(error.stack);
        process.exit(1);
    });

Now you can make a site in a few steps:

  1. Makes some modules using the url pattern: /admin/module/[module name]
  2. Create pages from these modules: [route]/edit
  3. View your site: [route]

Important urls

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i site-builder

Weekly Downloads

2

Version

0.1.1

License

ISC

Last publish

Collaborators

  • pajtai