0.2.0 • Published 10 years ago
generator-express-resource v0.2.0
generator-express-resource 
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 yoYeoman Generators
To install generator-express-resource from npm, run:
npm install -g generator-express-resourceFinally, initiate the generator:
yo express-resourceDependencies
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