1.0.3 • Published 7 years ago

generator-api-res-node v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

Express Logo

Express' application generator.

Installation

$ npm install -g generator-api-res-node

Description

This solution have, passport, passportjson, express, ava (test), statndard (linting), and set login.

Quick Start

Fork of the crufty express generator that scaffolds a basic json api that listens at /users The quickest way to get started with express is to utilize the executable api-rest to generate an application as shown below:

Create the app:

$ rest-api /tmp/foo && cd /tmp/foo

Install dependencies:

$ npm install

Rock and Roll

$ npm run start-dev  // start nodemoon
$ npm run lint // linting with standard
$ npm start  // start production
$ npm run test // test Ava

Command Line Options

This generator can also be further configured with the following command line flags.

-h, --help          output usage information
-V, --version       output the version number
    --git           add .gitignore
-f, --force         force on non-empty directory

License

MIT

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago