0.2.0 • Published 9 years ago

generator-express-resource v0.2.0

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

generator-express-resource Build Status

Generator-Express-Resource is a Yeoman generator for creating CRUD endpoints and the associated unit tests for a given resource quickly. It simplifies the process of writing the routes, connecting them to a database and writing working tests.

Getting Started

Make sure that you have Yeoman installed

npm install -g yo

Yeoman Generators

To install generator-express-resource from npm, run:

npm install -g generator-express-resource

Finally, initiate the generator:

yo express-resource

Dependencies

This generator creates routes designed to be used inside an ExpressJS application which uses

TODO:

  • Accept previously used responses to prompts as defaults in a project
  • Generate test/index.js if one isn't present
  • Add call to controller inside index.js so user doesn't have to remember

License

MIT

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago