1.1.2 • Published 9 years ago

swis v1.1.2

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

Swis

An Node.js based MVC framework with modest goals building on top of Express.

Concepts

There is a central container that hold specific instances (read implementation) of the different components needed to build an app. Swis has a .bootstrap() method at it's root that sets everything up.

Generally Swis is leaning a lot more towards convention over configuration compared to other Node.js frameworks.

Swis App File Structure

controllers
  home.js
  auth.js
views
  _layout.jade
  error.jade
  home
    index.jade
  auth
    signin.jade
    signup.jade
public
  images
    logo.png
  favicon.ico
assets
  styles
    main.css
routes.js
container.js
app.js
config.json
package.json
README.md

Required Config Keys

secret
database_url