generator-urestexpress
v1.1.0
Published
Basic Express REST API for quick and easy start
Downloads
4
Maintainers
Readme
generator-uRestExpress
Basic Express REST API for quick and easy start
Basic Info
This repo will help you generate a basic REST Express application. Containing:
- working CRUD
- dependency injection
- routing
- grunt setup
- linting with jshint
- unit tests(mocha,coverage,supertest)
Install Info
Install guide:
- install yeoman (npm install -g yo)
- clone repo
- npm install/yarn install
- run yo generator(locally: yo /src/index.js)
- answer the inputs required
- run the generated Express service ;)
Development
Working commands in generated folder
- nodemon index.js
- node index.js
Grunt Tasks
Working grunt tasks
- grunt jshint
- grunt test
- grunt githooks => (add a git hook to run jshint + unit tests before every commit to git)
License
MIT.