awscms

Awscms is a Connect middleware that serves Handlebars templates from an Amazon S3 bucket.

Awscms

Awscms is a Connect middleware that serves Handlebars templates from an Amazon S3 bucket.

Made by Matt Brennan at import•io.

##Installing npm install awscms

##Using

app.use.apply(app, Awscms.middleware({
        prefix: '/awscms',
        access-key-id: "",
        secret-access-key: "",
        bucket: "bucket-name"
}))
 
{{#extends "base"}}
{{> header}}
<ol>
    {{#each list}}
    <li>{{.}}
    {{/each}}
</ol>
{{/extends}}
{
    "list": [
        "Is amazing",
        "Will save your life"
    ]
}
<h1>Awscms</h1>
<!doctype html>
 
{{{body}}}

GET /awscms/page

Well, what do you think?

Awscms is released under the MIT licence. ©2013 import•io