paper-bag
v1.2.4
Published
Basic NodeJS MVC Framework
Downloads
96
Readme
Paper Bag
Installation
npm install -g paper-bag
Get Started
Note: yeoman generator not yet complete. Do not use yet!
npm install -g generator-paper-bag
mkdir my-paper-bag-project
cd my-paper-bag-project
yo paper-bag
Dependencies
Paper Bag is basically just a bunch of modules I slapped together. Here they are (I did write a couple of them):
- Routes/Controllers: paper-router paper-router
- Views: express express/hogan-express hogan-express
- Models: [BookshelfJS] bookshelf
- Schema manipulation: [KnexJS] knex
- Networking: [ExpressJS] express
- Clientside JS: [browserify-middleware] browserify
- Sass: [node-sass-middleware] sass
- File upload: multer multer
- Body parser: body-parser body-parser
- Profiler: paper-profiler paper-profiler
CLI
- paper-bag start
- Starts the application
- paper-bag console
- Runs REPL with PaperBag global loaded and all models loaded
- paper-bag db migration [name]
- Creates a db migration named [name]
- paper-bag db migrate
- Runs all latest migrations
- paper-bag db rollback
- Rolls back latest batch of migrations