Basic Express REST API for quick and easy start
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 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 ;)
Working commands in generated folder
- nodemon index.js
- node index.js
Working grunt tasks
- grunt jshint
- grunt test
- grunt githooks => (add a git hook to run jshint + unit tests before every commit to git)
MIT.