An experiment to see what a simple node app would look like with "Components" from the @visionmedia blog
JavaScript Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public/shared
scripts
test
.gitignore
Makefile
Readme.md
app.js
package.json

Readme.md

Express App - Components

A simple app with sign-in and dashboard views.

Concepts

  • Everything is a component (components live in lib)
  • Pyramid testing (view integrations live in test, model and controller tests live in lib/{component}/test)
  • Makefile as entry point (everything starts with make)
  • Separate code and config (config is injected into main()) ...and other 12-factor guidelines

Try it

$ git clone git://github.com/Skookum/component-test.git
$ cd component-test
$ make setup
$ make test
$ make open

Inspired by