breadbox

A Node MVC framework that does more with less.

Usage no npm install needed!

<script type="module">
  import breadbox from 'https://cdn.skypack.dev/breadbox';
</script>

README

Breadbox

Breadbox is an MVC framework for Node.js web apps. Unlike Express, Breadbox is an attempt to cover all the requirements of a simple website with one small dependency. It provides a great way to get up and running with a data store, user authentication, a template engine, POST request processing, and an admin interface all with just one npm install.

Read the docs.

Hello World

// index.js

const breadbox = require('breadbox');

breadbox({
    controllers: {
        '/index': resolve => {
            resolve({ person: "World" });
        }
    }
});
<!-- index.html -->

<h1>Hello, <:person:>!</h1>

Run node index then open http://localhost:1337 in your browser.