generator-urestexpress

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i generator-urestexpress

Weekly Downloads

1

Version

1.1.0

License

none

Last publish

Collaborators

  • vladpantea