generator-nude
Version:
A generator to scaffolding HTTP API's, with Express.js and es6
55 lines (40 loc) • 1.54 kB
Markdown
[](https://travis-ci.org/darlanmendonca/generator-nude)
[](https://coveralls.io/github/darlanmendonca/generator-nude?branch=master)
[](https://badge.fury.io/js/generator-nude)
[](https://opensource.org/licenses/mit-license.php)
A generator to scaffolding HTTP API's, with Express.js and es6
### Offers
- authentication with jwt (using [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken))
- lint scripts (with [ESLint](http://eslint.org/))
- auto documentation (with [API Docs](http://apidocjs.com/))
- automated tests (with [Mocha](https://mochajs.org/), [Chai](http://chaijs.com/), and [Chai-http](http://chaijs.com/plugins/chai-http/))
- coverage tests (with [Istambul](https://gotwarlost.github.io/istanbul/))
### Requirements
This generator, is a yeoman generator, and require following modules:
- yo
- gulp
To install these:
```sh
npm i -g yo gulp
```
### Install and use
First install this module as global
```sh
npm i -g generator-nude
```
And to use, go to a empty folder, where you want generate project, and run:
```sh
yo nude
```
or
```sh
yo nude nameProject
```
After install dependencies, running your project using default task on Gulp, running:
```sh
gulp
```
and to run tests
```sh
npm test
```