1.3.0 • Published 9 years ago

generator-xprscouch v1.3.0

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

Yeoman express couch generator

Dependency Status Build Status

Yeoman generator for express with couchdb lets you rapidly build CRUD MVC application with best practices

###Installation and Usage

install yo, grunt-cli, generator-xprscouch

npm install -g yo grunt-cli generator-xprscouch

Make a directory and cd into it

mkdir project-name && cd $_

Run yo xprscouch [app-name]

app-name is optional

Run grunt for preview. By default the app starts on port 3000. You can change the port for different environments (e.g. development, production) in config.js file located in the app root folder.

##Generators

##App Sets up the base app for you

Command

yo xprscouch app-name

##Router Creates a new express router

Command:

yo xprscouch:router router-name

##Model Creates a new model in model folder (Models are like database APIs for routers). Models use cradle CouchDB client

Command:

yo xprscouch:model model-name [database-name]

database-name is optional if not provided model-name is used as the database name.

##License MIT License

1.3.0

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago