Create & generate MVC project structure, with Express, Mongoose & Jade
Very simple utility to create & generate MVC architecture.
npm install nutshell -g
Nuthshell comes with a two types of patterns:
The first of them simply creates a structure for your MVC application.
The second type create a structure and add a simple logic for demonstration work.
To use Nutshell clean type, open a terminal, navigate to a directory where you have rights to create files, and type:
nutshell myapp -clean
This will create a Express application called myapp with MVC structure.
To use Nutshell generate type, open a terminal, navigate to a directory where you have rights to create files, and type:
nutshell myapp -generate
This will create a Express application called myapp with MVC structure and simple logic.
Any of the preceding commands created a folder in your working directory. This directory has a number of auto-generated files and folders that make up the structure of a Express MVC application.
Nutshell generate type adds simple logic to the previous structure, and create index.jade file in /views/.