jbatty

1.0.7 • Public • Published

Express Logo

Express REST API ES6 application generator.

Linux Build Windows Build

Installation

$ npm install -g express-restapi-es6

Quick Start

Create the app:

$ express-restapi-es6 yournameapp

Install dependencies:

$ cd yournameapp
$ npm install

Start your app at http://localhost:3000/api/value

$ npm start

Development mode (Nodemon)

$ npm run dev

Run test

$ npm run test

Command Line Options

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

    --version        output the version number
-e, --ejs            add ejs engine support
    --pug            add pug engine support
    --hbs            add handlebars engine support
-H, --hogan          add hogan.js engine support
-v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
    --no-view        use static html instead of view engine
-c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git            add .gitignore
-f, --force          force on non-empty directory
-h, --help           output usage information

Used modules

License

MIT

Package Sidebar

Install

npm i jbatty

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

13.6 kB

Total Files

16

Last publish

Collaborators

  • jmbl1685