swis

1.1.2 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i swis

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • kiasaki