Socket
Socket
Sign inDemoInstall

paper-bag

Package Overview
Dependencies
314
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    paper-bag

Basic NodeJS MVC Framework


Version published
Maintainers
1
Install size
28.7 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 01 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc